Initializing dynamically
Hi, Could you make it possible to somehow load new instances dynamically, instead of only on page load? For example, by exposing a function that accepts an element.
Alternatively (or in addition), event delegating allows this feature to be implemented transparently, no API needed. And if you're worried about performance you can add a data-vocalizer-event-source attribute (or something like that) that causes vocalizer.js to bind event listeners to those elements instead of document.
I've actually done some work with event delegation before, and I'd be happy to implement the feature if the maintainer is interested.
@DieterHolvoet Yes, definitely!
@MakiCode That would be great. I will be adding the un-minified source to the repo later on today. Thanks.
@MakiCode I just added the source files - feel free to submit PRs :)