@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
26 lines (25 loc) • 854 B
TypeScript
import { WindowPosition, WindowSize } from '../AdaptableState/Common/Window';
import { PopupType } from './SettingsPanelOptions';
/**
* Options for managing AdapTable Wizards
*/
export interface WizardOptions {
/**
* How wizards are rendered: `'modal'` (centred & unmovable) or `'window'` (supports size, position, drag, resize)
*
* @defaultValue inherits from `settingsPanelOptions.popupType`
*/
popupType?: PopupType;
/**
* Initial position of wizard — pixel offset of top-left corner from top-left of viewport (requires `popupType`: `'window'`)
*
* @defaultValue Middle of Screen
*/
position?: WindowPosition;
/**
* Initial size (in pixels) of wizard (requires `popupType`: `'window'`)
*
* @defaultValue Computed default sized for wizards
*/
size?: WindowSize;
}