Skip to main content

DecreaseListItemIndentCmd

Classes

DecreaseListItemIndentCmd

The command to decrease the indent of list items by paragraph indexes.

Remarks

if paragraphs indexes are not specified, then the current selection (or cursor position) is used.

Extends

Implements

Constructors

Constructor
new DecreaseListItemIndentCmd(textManager, initData): DecreaseListItemIndentCmd;
Parameters
ParameterType
textManagerITextManager
initDataDecreaseListItemIndentData
Returns

DecreaseListItemIndentCmd

Overrides

ListCmd.constructor

Methods

execute()
execute(): boolean;

Executes the command.

Returns

boolean

true if changes were made, false otherwise.

Implementation of

ICommand.execute


DecreaseListItemIndentData

Data required to initialize the command.

Constructors

Constructor
new DecreaseListItemIndentData(): DecreaseListItemIndentData;
Returns

DecreaseListItemIndentData

Properties

paragraphIndexes?
optional paragraphIndexes?: number[];

Indexes of paragraphs to decrease indentation of list items.

Was this page helpful?