up.Layer.prototype.off(types, listener)
Instance method
Unbinds an event listener previously bound with up.Layer#on().
Parameters
Observed events
types
required
The event types to unbind.
Multiple event types may be passed as either a space-separated string ('foo bar'), a comma-separated string ('foo, bar')
or as an array of types (['foo', 'bar']).
Type: string | Array<string>
Listener
listener
required
The listener function to unbind.
You must pass a reference to the same function reference that was used to register the listener.
Type: Function(event, [element], [data])