<action> node
Description
Describes one external event.
Attributes
Attribute Name | Description | Type | Possible Values | Default Value |
---|---|---|---|---|
type | Type of reaction on an external event. call - activate external function. NavigateToURL - navigate to an url link. |
Enum | call NavigateToURL |
Call |
event | An event that determines stimulus of action processing. Click - processing starts on task click. Hover - processing starts on mouse cursor hover. |
Enum | Click Hover |
Click |
function | Name of an external function for executing an action of call type. The atribute is obligatory if type is set to call, otherwise action is ignored. |
String | n/a | n/a |
url | Address of a link for navigating to an action of NavigateToURL type. The attribute is obligatory if type is set to NavigateToURL, otherwise action is ignored. Can include pattern for a certain dynamic link For example: url="http://www.anychart.com?task_id={%ID}&value={%custom_attribute_name}" When action with the folowwing data: ID="task_4" and custom_attribute_name="some_custom_value" is executed, your browser navigates to the following url: http://www.anychart.com?task_id=task_4&value=some_custom_value |
String | n/a | n/a |
target | For action with NavigateToURL value of type attribute. It is equivalent to the target<a href="..."></a> For example: target="_blank" target="_top" target="some_frame_name" |
String | n/a | n/a |