Optional
Readonly
autosaveableReadonly
dirtyReadonly
onThis event is fired when the content of the saveable changes.
While onDirtyChanged
is fired to notify the UI that the widget is dirty,
onContentChanged
is used for the auto save throttling.
Readonly
onThis event is fired when the content of the dirty
variable changes.
Readonly
readonlyReadonly
resourceReadonly
viewOptional
applyApplies the given snapshot to the dirty state.
Optional
createCreates a snapshot of the dirty state. See also Saveable.Snapshot.
Dispose this object.
Optional
filtersOptionally return file filters for the "Save As" dialog.
The keys of the returned object are the names of the filters and the values are arrays of file extensions.
For example: { 'Text Files': ['txt', 'text'], 'All Files': ['*'] }
If no filters are provided, a default filter of All Files (*.*)
will be used.
Optional
savePerforms the save operation with a new file name.
Optional
options: SaveOptionsOptional
saveOptional
options: SaveOptionsOptional
serializeSerializes the full state of the saveable item to a binary buffer.
If false, the saveable will not participate in autosaving.