vm.$off()

vm.$off( [event, callback] )

  • Arguments:

    • {String} [event]
    • {Function} [callback]
  • Usage:

    Remove event listener(s).

    • If no arguments are provided, remove all event listeners;

    • If only the event is provided, remove all listeners for that event;

    • If both event and callback are given, remove the listener for that specific callback only.

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

Please login to continue.