Class InsertNewLineCmd
The command to insert a new line relative to the current cursor position.
Package: @aurigma/design-atoms-text
Remarks
if there is selected text, it will be deleted.
Constructors
(constructor)(_textManager, _initData)
Constructs a new instance of the InsertNewLineCmd class
Declaration
constructor(_textManager: ITextManager, _initData: InsertNewLineCmdData);Parameters
| Type | Name | Description | 
|---|---|---|
| ITextManager | _textManager | |
| InsertNewLineCmdData | _initData | 
Methods
execute()
Declaration
execute(): boolean;Returns
| Type | Description | 
|---|---|
| boolean |