import { DashboardState } from '../../AdaptableState/DashboardState'; import { BaseContext } from '../../types'; /** * Object returned by the `DashboardChanged` event */ export interface DashboardChangedInfo extends BaseContext { /** * What caused Dashboard State to change */ actionName: string; /** * Previous Dashboard State */ oldDashboardState: DashboardState; /** * Current Dashboard State */ newDashboardState: DashboardState; /** * Check if given Toolbar was just changed to visible state */ isToolbarStateChangedToVisible(toolbarName: string): boolean; /** * Check if given Toolbar was just changed to hidden state */ isToolbarStateChangedToHidden(toolbarName: string): boolean; }