Created
May 22, 2015 21:56
-
-
Save frankiefu/bd77e5454784a0378c2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module id="x-app"> | |
<script> | |
Polymer({ | |
is: 'x-app', | |
properties: { | |
foo: { | |
type: String, | |
value: 'foo' | |
}, | |
bar: String, | |
zot: String | |
}, | |
observers: [ | |
'_observeBarZot(bar, zot)' | |
], | |
_observeBarZot() { | |
console.log(this.foo, this.bar, this.zot); // undefined "bar" "zot" | |
} | |
}); | |
</script> | |
</dom-module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment