mirror of
https://github.com/timberjoegithub/grafana-statusmap.git
synced 2026-07-21 23:42:03 +00:00
- move images for README into docs/img - move libs/* into utils. libs folder is copied into dist by grafana-toolkit - remove d3-scale-chromatic sources, use it from dependencies - update compatible versions in README - update installation info
17 lines
413 B
TypeScript
17 lines
413 B
TypeScript
import { AppEvent } from './appEvents';
|
|
|
|
export interface GraphHoverPayload {
|
|
pos: any;
|
|
panel: {
|
|
id: number;
|
|
};
|
|
}
|
|
|
|
export var graphHover: AppEvent<GraphHoverPayload> | string = { name: 'graph-hover' };
|
|
export var graphHoverClear: AppEvent<any> | string = { name: 'graph-hover-clear' };
|
|
|
|
export function fallbackToStringEvents() {
|
|
graphHover = 'graph-hover';
|
|
graphHoverClear = 'graph-hover-clear';
|
|
}
|