Skip to main content
Version: 8.1

Perspective - Split Container Scripting

This page details the various scripting, component, and extension functions available for Perspective's Split Container 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.

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.

note

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.

note

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.