Protected ReadonlyonProtected ReadonlyonProtectedsaveProtectedsaveProtectedsaveProtectedshellProtectedaddProtectedapplyOptionalwidget: WidgetOptionalsaveable: WidgetOptionalwidget: WidgetProtectedcloseProtectedcloseOptionaloptions: SaveableWidget.CloseOptionsProtectedcreateAn event is emitted when a layout is initialized, but before the shell is attached.
Saves the document
No op if the widget is not saveable.
Optionaloptions: SaveOptionsOptionaloptions: SaveOptionsProtectedshouldProtectedshouldOptionaloptions: SaveableWidget.CloseOptionsProtectedupdateProtectedupdateProtectedwindow
Indicate if the document can be saved ('Save' command should be disable if not).