Optional
argsOptional arguments
Optional
cursorA cursor to use when the edit mode is active.
Optional
descriptionA human readable description of the edit mode.
A unique key for the edit mode.
Optional
onCalled when the edit mode is replaced. The newMode is passed in if there is one.
Describes the state of an edit mode. Some examples are: