Skip to main content
Version: 8.1

Flex Repeater + Scripting

This page details the various scripting, component, and extension functions available for the Flex Repeater + component.

Component Events

This component does not have any associated events.

Component Functions

popInstance

Remove a view instance.

Syntax

self.popInstance() # Remove the last instance.
self.popInstance(index) # Remove a specific instance.
Parameters
TypeParameterDescription
IntindexInstance index to remove.

Returns

No return value.

pushInstance

Append an instance or list of instances to the end of the current instances list.

Syntax

self.pushInstance(instance) # Append an instance to the end of the current instances list.
self.pushInstance([instances]) # Append a list of instances to the end of the current instances list.
Parameters
TypeParameterDescription
dictionary or listinstanceInstance or instances to append. See Instance Properties for more details.

Returns

No return value.

insertInstance

Insert an instance or list of instances into the current instances list.

Syntax

self.insertInstance(index, instance) # Insert an instance into the current instances list.
self.insertInstance(index, [instances]) # Insert a list of instances into the current instances list.
Parameters
TypeParameterDescription
IntindexIndex to start the insertion.
dictionary or listinstanceInstance or instances to insert. See Instance Properties for more details.

Returns

No return value.

Extension Function

This component does not have any associated extension functions.