UNPKG

849 BTypeScriptView Raw
1import { Emitter } from '@mantou/gem/lib/decorators';
2import { GemElement } from '@mantou/gem/lib/element';
3import './use';
4import './checkbox';
5export declare type Option = {
6 label: string | number;
7 value?: string | number;
8 children?: Option[];
9};
10declare type State = {
11 selected: Option[];
12};
13/**
14 * @customElement dy-cascader
15 * @attr fit
16 * @attr multiple
17 */
18export declare class DuoyunCascaderElement extends GemElement<State> {
19 #private;
20 static column: string;
21 options?: Option[];
22 fit: boolean;
23 multiple: boolean;
24 change: Emitter<(string | number)[][] | (string | number)[]>;
25 value?: (string | number)[][] | (string | number)[];
26 state: State;
27 willMount: () => void;
28 render: () => import("lit-html/lib/template-result").TemplateResult;
29}
30export {};
31//# sourceMappingURL=cascader.d.ts.map
\No newline at end of file