Edit this page

up.Layer up.Layer.prototype.off(events, [selector], listener)
Class method

Unbinds an event listener previously bound with up.Layer#on().

Parameters

events string
[selector] stringorFunction(): string optional
listener Function(event, [element], [data])

The listener function to unbind.

Note that you must pass a reference to the same function reference that was passed to up.Layer#on() earlier.