Hi Gonzalo,
First off, observing the element's own properties, like in `core-drag-drop` is no problem in 1.0. That same observer would look like this:
observers: [
'coordinatesChanged(x,y)'
],
coordinatesChanged: function(x, y) { ... }
You can also bind to a property on a local DOM child:
<dom-module is="test-el">
<template>
<!-- bind child-el.childProp to test-el.parentProp -->
<child-el id="child" child-prop="{{parentProp}}"></child-el>
</template>
<script>Polymer({ ... });</script>
</dom-module>
Now the value of `childProp` is available in your element as `parentProp` so you can
define an observer for it:
observers: [
'childPropChanged(parentProp)'
]
In 0.5, you could skip the binding and observe a child prop directly, doing something like:
observe: {
'$.child.childProp': 'childPropChanged'
}
This shortcut is what you can't do anymore. An element can only create observers for its own properties.
Further reading:
Hope that helps,
Arthur