Closed
Description
If an attribute is setup for a custom element that has a dash ('-') in it, it's reflected to a property with the same name. This makes referencing the value cumbersome since this['..'] notation must be used. Additionally, the property cannot be used as a binding value for mdv.
We could document that attributes with dashes are not supported.
However, we may want to convert these attributes to camelCased properties: an attribute "foo-bar" to a property "fooBar."
See feedback in https://groups.google.com/forum/#!topic/polymer-dev/GWzc8zekb-o
cc @ebidel
Metadata
Assignees
Labels
No labels