You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A legacy element (Polymer({ is: 'my-el' })) will have behaviors defined for each instance.
A class-based element (class MyEl extends Polymer.Element) will instead have behaviors defined in the constructor, so each instance must access via this.constructor.behaviors. http://jsbin.com/fufikun/1/edit?html,console,output
How should hybrid element authors go about it?
The text was updated successfully, but these errors were encountered:
A legacy element (
Polymer({ is: 'my-el' })
) will havebehaviors
defined for each instance.A class-based element (
class MyEl extends Polymer.Element
) will instead havebehaviors
defined in the constructor, so each instance must access viathis.constructor.behaviors
.http://jsbin.com/fufikun/1/edit?html,console,output
How should hybrid element authors go about it?
The text was updated successfully, but these errors were encountered: