Skip to content

how to set new value #68

Open
Open
@anabrnjasevic

Description

@anabrnjasevic

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions