Events#
| Type | Description | |
|---|---|---|
onDone | function | (optional) Callback for the done button. Return a Promise to keep the section in edit mode until it settles: it switches to view mode when the Promise resolves, and stays in edit mode when it rejects. Any other return value is ignored. |
onCancel | function | (optional) Callback for the cancel button. |