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
Type | Parameter | Description |
---|---|---|
Int | index | Instance 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
Type | Parameter | Description |
---|---|---|
dictionary or list | instance | Instance 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
Type | Parameter | Description |
---|---|---|
Int | index | Index to start the insertion. |
dictionary or list | instance | Instance 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.