I can’t make working tree with section to use events. I made event attach but it’s never called;
You are mixing two different initialization - by script, and by HTML markup
Correct code will look similar to next
init by JS
<<class not set , to prevent auto init
Init from HTML