Class: shaka.util.EventManager.Binding_

Constructor

(private) new Binding_(target, type, listener)

Creates a new Binding_ and attaches the event listener to the event target.
Parameters:
Name Type Description
target EventTarget The event target.
type string The event type.
listener shaka.util.EventManager.ListenerType The event listener.
Source:

Members

(nullable) listener :shaka.util.EventManager.ListenerType

Type:
Source:

target :EventTarget

Type:
  • EventTarget
Source:

type :string

Type:
  • string
Source:

Methods

unlisten()

Detaches the event listener from the event target. This does nothing if the event listener is already detached.
Source: