Get Started
Plugins
Macros
More information

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

Description

Defines the method that allows moving the 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 the 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]);