Adds an event listener.
Object
CrossReference
A cross reference to a different index topic. (For cross references in text, use the 'cross reference source' and 'hyperlink' objects.)
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| CrossReferenceType | read/write | The text that precedes or follows the referenced topic. | |
| String | read/write | The text used for a custom cross reference type. Note: Valid only for custom cross reference types. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the CrossReference. | |
| Number | readonly | The index of the CrossReference within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | read/write | The name of the CrossReference; this is an alias to the CrossReference's label property. | |
| Topic | readonly | The parent of the CrossReference (a Topic). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Topic | read/write | The topic to which this CrossReference points. |
Methods
→ String
Gets the label value associated with the specified key.
→ CrossReference[]
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
→ void
Deletes the CrossReference.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the CrossReference.
→ String
Retrieves the object specifier.
Object of 3
Properties elsewhere that hold a CrossReference.
Parameter of 3
Method parameters that accept a CrossReference.
Return 14
Methods that return a CrossReference.
CrossReference.getElements()CrossReferences.[]()CrossReferences.add()CrossReferences.anyItem()CrossReferences.everyItem()CrossReferences.firstItem()CrossReferences.item()CrossReferences.itemByID()CrossReferences.itemByName()CrossReferences.itemByRange()CrossReferences.lastItem()CrossReferences.middleItem()CrossReferences.nextItem()CrossReferences.previousItem()