Skip to main content
A newer version of this page is available. .

List Class

Defines a list in the document.

Declaration

export class List

Properties

index Property

Gets the zero-based index of the list in the lists collection.

Declaration

readonly index: number

Property Value

Type Description
number

The list index.

levelProperties Property

Provides access to the level properties for the current numbered list.

Declaration

levelProperties: ListLevelSettings[]

Property Value

Type Description
ListLevelSettings[]

An object that contains the level properties.

type Property

Gets the type of the list.

Declaration

readonly type: ListType

Property Value

Type Description
ListType

The list type.