Skip to main content

RichEditCommands.updateTableOfContents Property

Gets a command to update a table of contents.


get updateTableOfContents(): UpdateTableOfContentsCommand

Property Value

Type Description

An object that provides methods that execute the command and check its state.


Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

Use the updateTableOfContents command to update the table of contents after its entries have been changed. If the current selection includes several tables of contents, the method updates the first one.

Usage example:


Refer to the following section for more information: Client Commands.

See Also