removeListener method
The removeListener()
method of the
MediaQueryList interface removes a listener from the
MediaQueryListener
.
In older browsers MediaQueryList
did not yet inherit from EventTarget,
so this method was provided as an alias of
EventTarget.removeEventListener.
Use removeEventListener()
instead of removeListener()
if it is
available in the browsers you need to support.
Implementation
external void removeListener(EventListener? callback);