Class SetParagraphStyleCmd
The command to set the paragraph style for the current cursor position or selected text.
Package: @aurigma/design-atoms-text
Remarks
only properties specified in the expected style are set.
Constructors
(constructor)(_textManager, _initData)
Constructs a new instance of the SetParagraphStyleCmd class
Declaration
constructor(_textManager: ITextManager, _initData: SetParagraphStyleCmdData);
Parameters
| Type | Name | Description |
|---|---|---|
| ITextManager | _textManager | |
| SetParagraphStyleCmdData | _initData |
Methods
execute()
Declaration
execute(): boolean;
Returns
| Type | Description |
|---|---|
| boolean |