-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
On the Workspace
class page, the following is given as the description for every on
method signature:
Triggered when the CSS of the app has changed. Triggered when the user opens the context menu on a file. Triggered when the user opens the context menu on an editor. Triggered when changes to an editor has been applied, either programmatically or from a user event. Triggered when the editor receives a paste event. Check for
evt.defaultPrevented
before attempting to handle this event, and return if it has been already handled. Useevt.preventDefault()
to indicate that you've handled the event. Triggered when the editor receives a drop event. Check forevt.defaultPrevented
before attempting to handle this event, and return if it has been already handled. Useevt.preventDefault()
to indicate that you've handled the event. Triggered when the app is about to quit. Not guaranteed to actually run. Perform some best effort cleanup here.
This seems to be a concatenation of all docs for all variants of the on
method.