Get Started
Plugins
Macros
More information

window.Asc.plugin.executeMethod ("MoveCursorToStart", [args], callback)

Description

Defines the method that allows moving a cursor to the start position.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("MoveCursorToStart", [isMoveToMainContent]);
Parameters
Parameter Description Type Example
isMoveToMainContent Defines if a cursor moves to the document start (true) or to the current element start (false). boolean true
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod ("MoveCursorToStart", [true]);