SimpleTaskEdit
Feature
This feature allows inline editing of tasks. Double-clicking an item starts editing it:
Each task item can define an editor. To prevent an item from being edited inline, configure it with editor : null:
This feature is disabled by default.
Keyboard shortcuts
| Keys | Action | Action description |
|---|---|---|
| Enter | editNext | In an editor this will accept the change and start editing the next item on that card or the first item on the next card. By default it adds a new task when pressed on the last item of the last card in a column. This behaviour is configurable using the addNewAtEnd config. |
| Escape | cancel | Cancels editing and reverts changes for that item which is currently being edited |
| Shift+Enter | editPrevious | In an editor this will accept the change and start editing the previous item on that card or the last item on the previous card |
| Ctrl+Enter | complete | Accepts the edit and closes the editor |
Please note that Ctrl is the equivalent to Command and Alt is the equivalent to Option for Mac users
For more information on how to customize keyboard shortcuts, please see our guide.
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Pressing Enter in last item on last task in a column adds a new task.
-
A configuration object for the Editor used by this feature. Useful when you want to validate the value being set by the end user (see beforeComplete).
-
keyMap : Object<String, KeyMapConfig>
See Keyboard shortcuts for details
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of SimpleTaskEdit class, or subclass thereof.
-
Identifies an object as an instance of SimpleTaskEdit class, or subclass thereof.