Interface: EditableSpec
January 18, 2022 · View on GitHub
Kui API Documentation - v11.0.0 / @kui-shell/core / EditableSpec
Interface: EditableSpec
@kui-shell/core.EditableSpec
Table of contents
Properties
Properties
clearable
• clearable: boolean
Should we offer a Clear button? Default: false
Defined in
packages/core/src/models/editable.ts:30
readOnly
• readOnly: boolean
Should the editor be opened in read-only mode? Default: false
Defined in
packages/core/src/models/editable.ts:27
revert
• revert: Object
Button and Controller to handle reverts
Type declaration
| Name | Type |
|---|---|
label? | string |
onRevert | () => string | Promise<string> |
Defined in
packages/core/src/models/editable.ts:39
save
• save: Object
Button and Controller to handle saves
Type declaration
| Name | Type |
|---|---|
label | string |
onSave | (data: string) => Save | Promise<Save> |