off

View as Markdown
  • off(event, fn?)

Remove an event handler.

Parameters

NameTypeDescription
eventstringName of the event. See the list of events.
fn?FunctionAn event handler which had been previously attached.