UNPKG

@patricksurry/g3

Version:

A flexible Javascript framework for building steam gauge instrument panels that display live external metrics from flight (or other) simulators like XPlane or MS FS2020

7 lines (6 loc) • 456 B
import type { D3Selection, SelectorOrSelection, ElementComponent, PutComponent, SnapScale } from './types'; export declare function d3sel(sel: SelectorOrSelection): D3Selection; export declare function element(elt: string, attrs_?: Record<string, any>): ElementComponent; export declare function put(): PutComponent; export declare function snapScale(): SnapScale; export declare function flatten(o: Record<string, any>, ks?: string[]): [string[], any][];