Action/Event Info
Last updated
Last updated
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.
The user-interaction event information is in the form of an object with the following properties:
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.
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.