vm.$before( elementOrSelector, [callback] )
-
Arguments:
{Element | String} elementOrSelector
{Function} [callback]
-
Returns:
vm
- the instance itself -
Usage:
Insert the Vue instance’s DOM element or fragment before target element. The target can be either an element or a querySelector string. This method will trigger transitions if present. The callback is fired after the transition has completed (or immediately if no transition has been triggered).
Please login to continue.