Open anabrnjasevic opened 11 months ago
Hi, I'm having trouble with changing the initial value of the counter, I'm using Vue 3, composition API. As I understand the documentation, value should update when it changes?
hours: Number, minutes: Number, seconds: Number, }); onMounted(() => { var element = document.querySelector("#tick"); tick = Tick.DOM.create(element, { value: { sep:':', seconds:props.seconds, hours:props.hours, minutes:props.minutes, }, didInit: function (tick) { console.log("hello!",tick); }, }); }); onUnmounted(() => { Tick.DOM.destroy(tick); });
any help would be appreciated...
Did you try setting value on the Tick instance…?
value
e.g. tick.value = x.
tick.value = x
Hi, I'm having trouble with changing the initial value of the counter, I'm using Vue 3, composition API. As I understand the documentation, value should update when it changes?
any help would be appreciated...