Topics

A collection of index topics.

Methods:

add, count

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Topic add (name:String, sortBy:String, withProperties:Object)

Creates a new index topic.

Parameter

Type

Description

name

String

The name of the topic. Note: This is the text that appears in the index.

sortBy

String

The string to sort this topic by instead of the topic name. Note: The actual topic text, rather than the sort order text, appears in the index. (Optional)

withProperties

Object

Initial values for properties of the new Topic (Optional)

Number count ()

Displays the number of elements in the Topic.

Object of

Index.topics