Skip to main content
cut

RichEditCommands.goToBookmark Property

Gets a command to navigate to the specified bookmark.

#Declaration

TypeScript
get goToBookmark(): GoToBookmarkCommand

#Property Value

Type Description
GoToBookmarkCommand

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

#Remarks

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

richEdit.commands.goToBookmark.execute('bookmark1');

Each sub-document stores information about bookmarks located within in the array that you can access via the SubDocument.bookmarksInfo property.

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

See Also