onclick attribute removed by reef
th-developer opened this issue · comments
in a template function which generates links with an attribute onclick="..." this onclick does not appear in the resulting HTML document.
https://codepen.io/th-developer/pen/dyaGJZa
Thank you :-)
That’s correct. For security reasons, it’s added as an on*
property on the element itself, and will work as expected.
I should also add, this assumes that you are registering your event handlers per the documentation: https://reefjs.com/advanced/#events
Ah! Thank you very much for your help