Class DeleteListItemCmd
The command to remove the current list item by paragraph index.
Package: @aurigma/design-atoms-text
Remarks
if paragraphs indexes are not specified, then the current selection (or cursor position) is used.
Constructors
(constructor)(_textManager, _initData)
Constructs a new instance of the DeleteListItemCmd
class
Declaration
constructor(_textManager: ITextManager, _initData?: DeleteListItemCmdData);
Parameters
Type | Name | Description |
---|---|---|
ITextManager | _textManager | |
DeleteListItemCmdData | _initData |
Methods
execute()
Declaration
execute(): boolean;
Returns
Type | Description |
---|---|
boolean |