@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
28 lines (27 loc) • 782 B
TypeScript
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;
}