PluginEventName
Plugin event-name constants (mirrors DGEvents pattern).
Union type of all plugin event names.
type PluginEventName = typeof PluginEvents[keyof typeof PluginEvents]Runtime Values
Section titled “Runtime Values”Use PluginEvents to reference these values from runtime code:
const PluginEvents = { SELECTION_CHANGE: 'selection-change', TREE_EXPAND: 'tree-expand', TREE_LOAD_START: 'tree-load-start', TREE_LOAD_END: 'tree-load-end', TREE_LOAD_ERROR: 'tree-load-error', FILTER_CHANGE: 'filter-change', SORT_MODEL_CHANGE: 'sort-model-change', EXPORT_START: 'export-start', EXPORT_COMPLETE: 'export-complete', CLIPBOARD_COPY: 'clipboard-copy', CLIPBOARD_PASTE: 'clipboard-paste', CONTEXT_MENU_OPEN: 'context-menu-open', CONTEXT_MENU_CLOSE: 'context-menu-close', HISTORY_CHANGE: 'history-change', SERVER_LOADING: 'server-loading', SERVER_ERROR: 'server-error', COLUMN_VISIBILITY_CHANGE: 'column-visibility-change', COLUMN_REORDER: 'column-reorder', DETAIL_EXPAND: 'detail-expand', GROUP_EXPAND: 'group-expand',} as const;| Key | Value |
|---|---|
SELECTION_CHANGE | 'selection-change' |
TREE_EXPAND | 'tree-expand' |
TREE_LOAD_START | 'tree-load-start' |
TREE_LOAD_END | 'tree-load-end' |
TREE_LOAD_ERROR | 'tree-load-error' |
FILTER_CHANGE | 'filter-change' |
SORT_MODEL_CHANGE | 'sort-model-change' |
EXPORT_START | 'export-start' |
EXPORT_COMPLETE | 'export-complete' |
CLIPBOARD_COPY | 'clipboard-copy' |
CLIPBOARD_PASTE | 'clipboard-paste' |
CONTEXT_MENU_OPEN | 'context-menu-open' |
CONTEXT_MENU_CLOSE | 'context-menu-close' |
HISTORY_CHANGE | 'history-change' |
SERVER_LOADING | 'server-loading' |
SERVER_ERROR | 'server-error' |
COLUMN_VISIBILITY_CHANGE | 'column-visibility-change' |
COLUMN_REORDER | 'column-reorder' |
DETAIL_EXPAND | 'detail-expand' |
GROUP_EXPAND | 'group-expand' |
See Also
Section titled “See Also”
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt