Back to Devexpress

RichEditCommands.goToBookmark Property

aspnet-js-richeditcommands-4907bbe2.md

latest1.2 KB
Original Source

RichEditCommands.goToBookmark Property

Gets a command to navigate to the specified bookmark.

Declaration

ts
get goToBookmark(): GoToBookmarkCommand

Property Value

TypeDescription
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.

javascript
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

RichEditCommands Class

RichEditCommands Members