@attribute throws 'cannot read property push of autoBoundAttributes'
David-Mulder opened this issue · comments
David Mulder commented
Avichay Eyal commented
10x
David Mulder commented
?
Avichay Eyal commented
Need to add a default value to the decorator, something like ... target.constructor.autoBoundAttributes = target.constructor.autoBoundAttributes || []
before pushing it.
Would you like to contribute or want me to do it myself?
Avichay Eyal commented
@David-Mulder Using polyfills, property attribute cannot target the correct class, as the actual HTML element's class is not the one provided by the code. I will try to look up some way to workaround this, but for now, this attribute remains undocumented as it doesn't work properly.
Avichay Eyal commented
Deprecated Feature on deprecated version.