UNPKG

580 BTypeScriptView Raw
1import { Emitter } from '@mantou/gem/lib/decorators';
2import { DuoyunScrollBaseElement } from './base/scroll';
3import './tooltip';
4export interface Legend {
5 label: string;
6 value?: string;
7 tooltip?: string;
8}
9/**
10 * @customElement dy-legend
11 */
12export declare class DuoyunLegendElement extends DuoyunScrollBaseElement {
13 #private;
14 colors: `#${string}`[];
15 legends?: Legend[];
16 value?: string[];
17 change: Emitter<string[]>;
18 constructor();
19 render: () => import("lit-html/lib/template-result").TemplateResult;
20}
21//# sourceMappingURL=legend.d.ts.map
\No newline at end of file