Interactive ElementsGotoPreviousStateBehaviors

A collection of goto previous state behaviors.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

add(
[withProperties])
 → GotoPreviousStateBehavior
count(
)
 → number
toSource(
)
 → string
add(
[withProperties])
 → GotoPreviousStateBehavior
Creates a new GotoPreviousStateBehavior.
withProperties Object Initial values for properties of the new GotoPreviousStateBehavior (Optional)
anyItem(
)
 → GotoPreviousStateBehavior
Returns any GotoPreviousStateBehavior in the collection.
count(
)
 → number
Displays the number of elements in the GotoPreviousStateBehavior.
everyItem(
)
 → GotoPreviousStateBehavior
Returns every GotoPreviousStateBehavior in the collection.
firstItem(
)
 → GotoPreviousStateBehavior
Returns the first GotoPreviousStateBehavior in the collection.
item(
index)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehavior with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehavior with the specified ID.
id number The ID.
itemByName(
name)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehavior with the specified name.
name string The name.
itemByRange(
from, to)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehaviors within the specified range.
from The GotoPreviousStateBehavior, index, or name at the beginning of the range. Can accept: GotoPreviousStateBehavior, Long Integer or String.
to The GotoPreviousStateBehavior, index, or name at the end of the range. Can accept: GotoPreviousStateBehavior, Long Integer or String.
lastItem(
)
 → GotoPreviousStateBehavior
Returns the last GotoPreviousStateBehavior in the collection.
middleItem(
)
 → GotoPreviousStateBehavior
Returns the middle GotoPreviousStateBehavior in the collection.
nextItem(
obj)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehavior whose index follows the specified GotoPreviousStateBehavior in the collection.
obj GotoPreviousStateBehavior The GotoPreviousStateBehavior whose index comes before the desired GotoPreviousStateBehavior.
previousItem(
obj)
 → GotoPreviousStateBehavior
Returns the GotoPreviousStateBehavior with the index previous to the specified index.
obj GotoPreviousStateBehavior The index of the GotoPreviousStateBehavior that follows the desired GotoPreviousStateBehavior.
toSource(
)
 → string
Generates a string which, if executed, will return the GotoPreviousStateBehavior.