Hi,
Maybe a bit off-topic, but still related to data binding. What is the
difference between defining a property inside the properties object, and
outside of it? For example:
Polymer({ is: 'some-element', properties: { name0: String }, name1: "" });
Both this.name0 and this.name1 are accessible and both are set on the
some-element object. Both can be used in data bindings, so having [[name1]]
in a template will work.
Is this behavior documented or explained somewhere?
Thank you.
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/047e5ad6-9f5d-41c8-8416-b36cf2ef873f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.