Interactive ElementsGotoAnchorBehaviors

A collection of goto anchor behavior objects.

Instance Properties

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

Methods

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