Class AddListItemCmd
The command to add a new list item to the current cursor position.
Package: @aurigma/design-atoms-text
Remarks
there must be no other items of the same list between the current index and the index of the previous list item.
Constructors
(constructor)(_textManager, _initData)
Constructs a new instance of the AddListItemCmd class
Declaration
constructor(_textManager: ITextManager, _initData: AddListItemCmdData);Parameters
| Type | Name | Description | 
|---|---|---|
| ITextManager | _textManager | |
| AddListItemCmdData | _initData | 
Methods
execute()
Declaration
execute(): boolean;Returns
| Type | Description | 
|---|---|
| boolean |