Tracker to react to focus changes of all document widgets.
Initialization of FocusChangeAutoSaveTracker.
Arguments to instantiate FocusChangeAutoSaveTracker.
Get all or only untracked document widgets
Whether to skip already tracked widgets or not.
Array of document widgets
Get Widget depending what triggered the event. This allows filtering of bubbled up focusout events from changing the focussed cell.
Focus event triggered by an editor or child widget
Document Widget or undefined
Handle the DOM events for focusout.
The DOM event triggered on the tracked node.
See: https://stackoverflow.com/a/58149336/3990615
Determine if a widget is a document widget.
Widget to check if it is a document Widget
True if the widget is a document widget, else false.
Save all document widgets.
Save Widget if it is a document Widget.
Widget which will be saved if it is a document widget
Add all untracked widgets to the FocusTracker.
Remove all document widgets from the FocusTracker.
Activate or deactivate the tracking, with new settings.
Tracker to react to focus changes of all document widgets.