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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.