events.Listener Extends Object
Simple class that stores information about a listener

Inheritance

Constructor

goog.events.Listener()

Instance Methods

Public Protected Private
handleEvent(eventObject)
Calls the internal listener
Arguments:
eventObject :
(Object | null)
Event object to be passed to listener.
Returns:   The result of the internal listener call.
code »
init(listenerproxysrctypecaptureopt_handler)
Initializes the listener.
Arguments:
listener :
(Object | null)
Callback function, or an object with a handleEvent function.
proxy :
(Function | null)
Wrapper for the listener that patches the event.
src :
(Object | null)
Source object for the event.
type :
Event type.
capture :
Whether in capture or bubble phase.
opt_handler :
(Object | null | undefined)
Object in whose context to execute the callback.
code »

Instance Properties

callOnce :
Whether to remove the listener after it has been called.
Code »
capture :
Whether the listener is being called in the capture or bubble phase
Code »
handler :
(Object | null | undefined)
Optional object whose context to execute the listener in
Code »
isFunctionListener_ :
Whether the listener is a function or an object that implements handleEvent.
Code »
key :
The key of the listener.
Code »
listener :
(Object | null)
Call back function or an object with a handleEvent function.
Code »
proxy :
(Function | null)
Proxy for callback that passes through goog.events#HandleEvent_
Code »
removed :
Whether the listener has been removed.
Code »
src :
(Object | null)
Object or node that callback is listening to
Code »
type :
Type of event
Code »

Static Properties

goog.events.Listener.counter_ :
Counter used to create a unique key
Code »

Package events

Package Reference