rivets icon indicating copy to clipboard operation
rivets copied to clipboard

Setting `preloadData`: false also disables event binding

Open gskema opened this issue 10 years ago • 0 comments

Setting

rivets.configure({
   preloadData: false
});

seems to also disable event binding on initializion, meaning that click event handler doesn't work:

<div rv-on-click="item.do_stuff"></div>

Is this intentional? Sometimes we want to keep the HTML rendered on the server side, and only start changing it if after some event occurs.

gskema avatar Dec 14 '15 13:12 gskema