Classes
Methods
-
module:ol/Observable.unByKey(key)
Observable.js, line 119 -
import {unByKey} from 'ol/Observable';
Removes an event listener using the key returned by
on()
oronce()
.Name Type Description key
The key returned by
on()
oronce()
(or an array of keys).Name Type Description listener
module:ol/events~ListenerFunction target
module:ol/events/Target~EventTargetLike type
string