A collection of goto anchor behavior objects.
Methods
GotoAnchorBehavioradd ([withProperties:
Object])
Creates a new GotoAnchorBehavior.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new GotoAnchorBehavior (Optional) |
GotoAnchorBehavioranyItem ()
Returns any GotoAnchorBehavior in the collection.
number count ()
Displays the number of elements in the GotoAnchorBehavior.
Array of GotoAnchorBehavioreveryItem ()
Returns every GotoAnchorBehavior in the collection.
GotoAnchorBehaviorfirstItem ()
Returns the first GotoAnchorBehavior in the collection.
GotoAnchorBehavioritem (index:
any)
Returns the GotoAnchorBehavior with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
GotoAnchorBehavioritemByID (id:
number)
Returns the GotoAnchorBehavior with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
GotoAnchorBehavioritemByName (name:
string)
Returns the GotoAnchorBehavior with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of GotoAnchorBehavioritemByRange (from:
any, to:
any)
Returns the GotoAnchorBehaviors within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | GotoAnchorBehavior Long Integer String |
The GotoAnchorBehavior, index, or name at the beginning of the range. Can accept: GotoAnchorBehavior, Long Integer or String. |
| to | GotoAnchorBehavior Long Integer String |
The GotoAnchorBehavior, index, or name at the end of the range. Can accept: GotoAnchorBehavior, Long Integer or String. |
GotoAnchorBehaviorlastItem ()
Returns the last GotoAnchorBehavior in the collection.
GotoAnchorBehaviormiddleItem ()
Returns the middle GotoAnchorBehavior in the collection.
GotoAnchorBehaviornextItem (obj:
GotoAnchorBehavior)
Returns the GotoAnchorBehavior whose index follows the specified GotoAnchorBehavior in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | GotoAnchorBehavior | The GotoAnchorBehavior whose index comes before the desired GotoAnchorBehavior. |
GotoAnchorBehaviorpreviousItem (obj:
GotoAnchorBehavior)
Returns the GotoAnchorBehavior with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | GotoAnchorBehavior | The index of the GotoAnchorBehavior that follows the desired GotoAnchorBehavior. |
string toSource ()
Generates a string which, if executed, will return the GotoAnchorBehavior.