goog.ui.ItemEvent
Classgoog.ui.ItemEvent
> goog.events.Event
goog.ui.ItemEvent(type, target, item)
Generic ui event class for events that take a single item like a menu click event.
type
{string
}
target
{Object
}
item
{Object
}
.defaultPrevented
{boolean
}Inherited from goog.events.Event
.
Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.
.dispose()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.disposeInternal()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.item
{Object
}Item for the event. The type of this object is specific to the type of event. For a menu, it would be the menu item that was clicked. For a listbox selection, it would be the listitem that was selected.
.preventDefault()
Inherited from goog.events.Event
.
Prevents the default action, for example a link redirecting to a url.
.propagationStopped_
{boolean
}Inherited from goog.events.Event
.
Whether to cancel the event in internal capture/bubble processing for IE.
.returnValue_
{boolean
}Inherited from goog.events.Event
.
Return value for in internal capture/bubble processing for IE.
.stopPropagation()
Inherited from goog.events.Event
.
Stops event propagation.