Perspective - Tree Scripting
This page details the various scripting, component, and extension functions available for Perspective's Tree component.
Component Events​
The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.
onItemClicked​
Fires whenever a node is clicked.
Object Path | Type | Description |
---|---|---|
event.data | Any | The value of the contextual 'data' object on the clicked node. |
event.itemPath | List | A list containing the item indexes leading to the item that was clicked. |
event.label | String | The displayed text on the clicked item. |
Component Functions​
This component does not have component functions associated with it.
Extension Functions​
This component does not have extension functions associated with it.