$trigger

vm.$trigger('eventName' | Event, { arguments });

The $trigger method allows you to trigger a native DOM event on the current component. It is a shortcut for the vuenit.trigger method.

vm.$trigger('click', {button:2});

is equivalent to

vuenit.trigger(vm.$el, 'click', {button:2});

results matching ""

    No results matching ""