Action/Event Info
Action/Event Info
is an output block that provides information about a user-interaction event when used inside the Tasks flow parameter of the Mouse/Keyboard Action , Event Action and similar blocks. The output is of type object and is compatible with Value Parameters of type object or of type any.
The Action/Event Info block only works when used inside the Tasks flow parameter of the Mouse/Keyboard Action, Event Action and similar blocks.
Properties
The user-interaction event information is in the form of an object with the following properties:
Property Name | Description |
---|---|
xpos | x-coordinate of the mouse pointer position. |
ypos | y-coordinate of the mouse pointer position. |
element | Reference to the element on which the interaction event occurred. |
name | This relates to dynamic content and information provided here. |
id | This relates to dynamic content and information provided here. |
id2 | This relates to dynamic content and information provided here. |
design | This relates to dynamic content and information provided here. |
domEventInfo | Reference to the DOM's event information object for more advanced usage. See here for more information. |
Usage Example
The image below shows an example of the Action/Event Info block used inside the Tasks flow parameter of the Event Action block.
The Show Information Popup block is used to display the x and y coordinates of the mouse pointer when the click event occurred.
Last updated