vm.$after()

vm.$after( elementOrSelector, [callback] )

  • Arguments:

    • {Element | String} elementOrSelector
    • {Function} [callback]
  • Returns: vm - the instance itself

  • Usage:

    Insert the Vue instance’s DOM element or fragment after 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).

doc_VueJS
2016-09-25 05:48:17
Comments
Leave a Comment

Please login to continue.