new ComponentEvent(type, container, component, args, state, fromBack)
Class of events raised when a antie.widgets.Component is being loaded/shown/hidden.
Parameters:
Name | Type | Description |
---|---|---|
type |
String | The type of event. |
container |
antie.widgets.ComponentContainer | The container of the component that fired the event. |
component |
antie.widgets.Component | The component that fired the event. |
args |
Object | Any arguments that were passed into the component when loaded. |
state |
Object | Any state information that was stored on the component history stack for this component. |
fromBack |
Boolean | True if the event was raised as a result of the user navigating 'back' in the component history. |
- Source:
Extends
Methods
isDefaultPrevented()
Check to see if the default handler has been prevented.
- Inherited From:
- Source:
Returns:
Boolean true if the default handler has been prevented.
isPropagationStopped()
Check to see if the propagation of this event has been stopped.
- Inherited From:
- Source:
Returns:
Boolean true if the event has been stopped, otherwise Boolean false.
preventDefault()
Prevent any default handler being called for this event.
- Inherited From:
- Source:
stopPropagation()
Stop propagation of the event through the widget tree.
- Inherited From:
- Source: