Function

removeListener (obj, eventName, target, method) public

Module: @ember/object
import { removeListener } from '@ember/object/events';
obj
eventName
String
target
Object|Function
A target object or a function
method
Function|String
A function or the name of a function to be called on `target`

Remove an event listener

Arguments should match those passed to addListener.

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/functions/@ember%2Fobject%2Fevents/removeListener