@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 948 B
TypeScript
import { ApiBase } from './ApiBase';
import { ShortcutApi } from '../ShortcutApi';
import { Shortcut, ShortcutState } from '../../AdaptableState/ShortcutState';
import { LayoutExtendedConfig } from '../../types';
export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
getShortcutState(): ShortcutState;
getShortcuts(config?: LayoutExtendedConfig): Shortcut[];
getShortcutById(id: Shortcut['Uuid'], config?: LayoutExtendedConfig): Shortcut;
getActiveShortcuts(config?: LayoutExtendedConfig): Shortcut[];
getSuspendedShortcuts(config?: LayoutExtendedConfig): Shortcut[];
addShortcut(shortcut: Shortcut): Shortcut;
deleteShortcut(shortcut: Shortcut): void;
deleteAllShortcuts(): void;
suspendShortcut(shortcut: Shortcut): Shortcut;
unSuspendShortcut(shortcut: Shortcut): Shortcut;
suspendAllShortcut(): void;
unSuspendAllShortcut(): void;
openShortcutSettingsPanel(): void;
}