Perspective - Split Container Scripting
This page details the component-specific events and functions available for Perspective's Split Container component. Right-click on the component or select Components from the Designer menubar to access the Configure Events and Configure Scripts popups.
Component Events​
The Perspective Event Types Reference page describes all the possible component event types for Perspective components.
onMinBoundReached​
This event is fired when the split reaches the minimum bound on the container. For example, when the split bar's position reaches 0 px or 0% of the container's width.
This component event is designed to be used in tandem with a script runAction. Within the script action, special properties and methods are available on the event object, which is passed to the script action as a parameter.
onMaxBoundReached​
This event is fired when the split reaches the maximum bound on the container. For example, when the split bar's position reaches 100% of the container's width.
This component event is designed to be used in tandem with a script runAction. Within the script action, special properties and methods are available on the event object, which is passed to the script action as a parameter.
Component Functions​
.getChildren()​
- Description
- Returns an ArrayList, which contains references to all components inside of the container.
- Parameters
- None
- Return
- Array List - An ArrayList of components in the container. The resulting ArrayList can be iterated over via a for-loop.
Extension Functions​
This component does not have extension functions associated with it.