javascript - Polymer attribute directive -
is there way achieve angularjs attribute directive in polymer. want call function based on particular attribute attached element.
this works me right now, non-generic. there easier way extend behavior of elements using attributes like
<paper-input behavior="custom-behavior" custom-behavior-attribute="some-data"></paper-input>
i have started building app in polymer done in angular. had same query running on mind , found link related topic , says polymer's behavior equivalent angular's attribute directive.
https://plus.google.com/+justinfagnani/posts/ejdr14ba7dj
it useful if can confirm there no other approach available achieve same.
Comments
Post a Comment