new DashboardLifecycleEvent(type, options)
Event generated before and after the Dashboard is loaded.
Example of listening for this event:
workspace.listen(sync.api.Workspace.EventType.BEFORE_DASHBOARD_LOADED, function(e) { }); workspace.listen(sync.api.Workspace.EventType.DASHBOARD_LOADED, function(e) { });
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The type of the event. |
options |
sync.api.Workspace.DashboardLoadingOptions | The options used to open the dashboard. |
Members
-
options :sync.api.Workspace.DashboardLoadingOptions
-
The loading options for the dashboard.
Type:
-
type :string
-
The event type: sync.api.Workspace.EventType.
Type:
- string