Interface ICommandFactory
Package: @aurigma/design-atoms-text
Methods
create(type, initData)
Creates a command of the required type.
Declaration
create(type: CommandType, initData?: any): ICommand;Parameters
| Type | Name | Description | 
|---|---|---|
| CommandType | type | command type. | 
| any | initData | data required to initialize the command. | 
Returns
| Type | Description | 
|---|---|
| ICommand |