Events not fire on templates elements after load ...
I looked for a solution for two hours, I almost gave up the pulg-in ...
This should be reported in the read.me ...
From stackoverflow : (by Eduardo Quintana)
"Use event delegation this will add the handler for future elements.
If you use $(".button") and the element is not in the DOM already the event handler will not work because noting will be selected
$(document).on("click",".button",function(){
console.log('click');
});
"
hope to help,
Raf
Events not fire on templates elements after load ...
I looked for a solution for two hours, I almost gave up the pulg-in ...
This should be reported in the read.me ...
From stackoverflow : (by Eduardo Quintana)
"Use event delegation this will add the handler for future elements.
If you use $(".button") and the element is not in the DOM already the event handler will not work because noting will be selected
$(document).on("click",".button",function(){
console.log('click');
});
"
hope to help,
Raf