@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.
18 lines • 653 B
TypeScript
/**
* Selection API for DOM manipulation
* Provides D3-like selection interface for SVG elements
*/
export declare class Selection {
private elements;
constructor(elements: Element | Element[]);
static select(selector: string): Selection;
static selectAll(selector: string): Selection;
attr(name: string, value: string | number): Selection;
style(name: string, value: string): Selection;
append(tagName: string): Selection;
text(content: string): Selection;
on(event: string, handler: (event: Event) => void): Selection;
node(): Element | null;
nodes(): Element[];
}
//# sourceMappingURL=selection.d.ts.map