Description

The off() method removes event handlers that were attached with .on()

Usage

Parameters

  • events {String}

    One or more space-separated event types and optional namespaces, such as "click" or "mouseover"

  • callback {Function} optional

    (optional) function which was attached in this event

Discussion