Open trusktr opened 3 years ago
I imagine you'd just call them in the generate function. A simple non-jquery example:
// ...
generate(index) {
const el = document.createElement("div");
el.textContent = "click me";
el.onclick = () => {
console.log("clicked");
};
return el;
}
Hope that helps!
What's the recommended way to use jQuery plugins on the items in the view?