Package | com.ghostwire.ui.events |
Class | public class uiInteractiveItemEvent |
Inheritance | uiInteractiveItemEvent ![]() |
uiInteractiveItemEvent
class defines events that are dispatched due to user interactions with
list or menu items (uiInteractiveItem
objects).
~ This class is available in Aspire UI Components Lite Edition ~
Property | Defined by | ||
---|---|---|---|
item : Object [read-only]
Indicates the data object (item) associated with this event.
| uiInteractiveItemEvent | ||
mouseEvent : MouseEvent [read-only]
Indicates the
MouseEvent that triggered this event. | uiInteractiveItemEvent |
Method | Defined by | ||
---|---|---|---|
uiInteractiveItemEvent(type:String, item:Object, mouseEvent:MouseEvent)
Creates a new
uiInteractiveItemEvent object with the specified parameters. | uiInteractiveItemEvent |
Constant | Defined by | ||
---|---|---|---|
INTERACTION : String = "interaction" [static]
Dispatched when the user interacts with an
uiInteractiveItem . | uiInteractiveItemEvent |
item | property |
item:Object
[read-only]Indicates the data object (item) associated with this event.
Implementation public function get item():Object
mouseEvent | property |
mouseEvent:MouseEvent
[read-only]
Indicates the MouseEvent
that triggered this event.
public function get mouseEvent():MouseEvent
uiInteractiveItemEvent | () | constructor |
public function uiInteractiveItemEvent(type:String, item:Object, mouseEvent:MouseEvent)
Creates a new uiInteractiveItemEvent
object with the specified parameters.
type:String — The type of the event. Event listeners can access this information through
the inherited type property.
|
|
item:Object — The data object associated with this event. This is the item that is interacted when
the event is dispatched.
|
|
mouseEvent:MouseEvent — The MouseEvent event object that triggered this event.
|
INTERACTION | constant |
public static const INTERACTION:String = "interaction"
Dispatched when the user interacts with an uiInteractiveItem
.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The object that dispatched the event. The target is
not always the object listening for the event. Use the currentTarget
property to access the object that is listening for the event. |
item | A data object representing the interactive item. |
mouseEvent | The MouseEvent event object that triggered this event. |