Enumeration
BehaviorEvents
Behavior trigger event options.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1835296118 | readonly | Triggers the behavior when the mouse button is clicked (without being released). | |
| Number = 1835361654 | readonly | Triggers the behavior when the mouse pointer enters the area defined by the bounding box of the object. | |
| Number = 1836606838 | readonly | Triggers the behavior when the mouse pointer exits the area defined by the bounding box of the object. | |
| Number = 1836410230 | readonly | Triggers the behavior when the mouse is released after a click. | |
| Number = 1868719478 | readonly | Triggers the behavior when the focus moves to a different interactive object. | |
| Number = 1868981622 | readonly | Triggers the behavior when the object receives focus, either through a mouse action or by pressing the Tab key. |
Object of 22
Properties elsewhere that hold an BehaviorEvents value.
AnimationBehavior.behaviorEventBehavior.behaviorEventClearFormBehavior.behaviorEventGotoAnchorBehavior.behaviorEventGotoFirstPageBehavior.behaviorEventGotoLastPageBehavior.behaviorEventGotoNextPageBehavior.behaviorEventGotoNextStateBehavior.behaviorEventGotoNextViewBehavior.behaviorEventGotoPageBehavior.behaviorEventGotoPreviousPageBehavior.behaviorEventGotoPreviousStateBehavior.behaviorEventGotoPreviousViewBehavior.behaviorEventGotoStateBehavior.behaviorEventGotoURLBehavior.behaviorEventMovieBehavior.behaviorEventOpenFileBehavior.behaviorEventPrintFormBehavior.behaviorEventShowHideFieldsBehavior.behaviorEventSoundBehavior.behaviorEventSubmitFormBehavior.behaviorEventViewZoomBehavior.behaviorEvent