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
Bespoke element constructors, mentioned in the PRIMER.md, don't seem to work because this doesn't seem to be correctly bound. As such this.is is incorrect and nothing good gets passed to document.createElement() :(
The text was updated successfully, but these errors were encountered:
Fixed in 24a2914 (didn't take PR #1152 as the implementation has changed a bit). Note the API change, such that the custom constructor need not call document.createElement and return the element. This will be done automatically; the user constructor should only configure the instance (this).
http://jsbin.com/puvaze/3/edit?html,output
Bespoke element constructors, mentioned in the PRIMER.md, don't seem to work because
this
doesn't seem to be correctly bound. As suchthis.is
is incorrect and nothing good gets passed todocument.createElement()
:(The text was updated successfully, but these errors were encountered: