Constructor
new RunFilterCommand(filter, dataId, app)
Parameters:
Name | Type | Description |
---|---|---|
filter | object | The filter to run. |
dataId | string | The data to filter. |
app | App | The associated application. |
- Source
Classes
Methods
execute()
Execute the command.
- Source
getName() → {string}
Get the command name.
- Source
Returns:
The command name.
- Type:
- string
onExecute(_event)
Handle an execute event.
Parameters:
Name | Type | Description |
---|---|---|
_event | object | The execute event with type and id. |
- Source
onUndo(_event)
Handle an undo event.
Parameters:
Name | Type | Description |
---|---|---|
_event | object | The undo event with type and id. |
- Source
undo()
Undo the command.
- Source
Events
filterrun
Filter run event.
Type:
Properties- object
Name | Type | Description |
---|---|---|
type | string | The event type: filterrun. |
id | number | The id of the run command. |
- Source
filterundo
Filter undo event.
Type:
Properties- object
Name | Type | Description |
---|---|---|
type | string | The event type: filterundo. |
id | number | The id of the undone run command. |
- Source