Open aonghas opened 1 year ago
How do I call the data-did-init method when implementing with Vue? The function is a string so I'm not sure how I can call something within a SFC in Vue? thanks!
Use Tick.DOM.create to create the counter and you can pass the init as a property.
Tick.DOM.create
var tick = Tick.DOM.create(element, { value: 1000, didInit: function(tick) { console.log('hello!'); } });
How do I call the data-did-init method when implementing with Vue? The function is a string so I'm not sure how I can call something within a SFC in Vue? thanks!