Topic
An index topic.
Go to Property Listing | Method Listing
Methods:
addEventListener, capitalize, getElements, remove, removeEventListener, toSource, toSpecifier
Objects:
Boolean, CrossReferences, EventListeners, Events, Number, Object, PageReferences, String, Topics
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of index cross references. (For cross references in text, use the 'cross reference source' and 'hyperlink' objects.) |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The index of the Topic within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
The name of the Topic. |
||
readonly |
A collection of index page references. |
||
readonly |
The parent of the Topic (a IndexSection, Topic or Index). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
The string by which the topic is sorted instead of the topic name is not used. Note: The actual topic text, rather than the sort order text, appears in the index. |
||
readonly |
A collection of index topics. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined capitalize ([capitalizationOption:IndexCapitalizationOptions=IndexCapitalizationOptions])
Makes the initial letter for the specified index topic or group of index topics upper case.
Parameter |
Type |
Description |
---|---|---|
capitalizationOption |
The entry or entries to capitalize. (Optional) (default: IndexCapitalizationOptions.ALL_ENTRIES) |
Topic getElements ()
Resolves the object specifier, creating an array of object references.
undefined remove ()
Deletes the Topic.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the Topic.
String toSpecifier ()
Retrieves the object specifier.
Object of
CrossReference.parent
Event.parent
EventListener.parent
MutationEvent.parent
PageReference.parent
Topic.parent
CrossReference.referencedTopic
Index.allTopics
IndexSection.allTopics