UNPKG

1.01 kBTypeScriptView Raw
1import { Emitter } from '@mantou/gem/lib/decorators';
2import { GemElement } from '@mantou/gem/lib/element';
3import { Option } from './radio';
4import './use';
5/**
6 * @customElement dy-checkbox
7 * @attr checked
8 * @attr indeterminate
9 * @attr value
10 * @attr disabled
11 */
12export declare class DuoyunCheckboxElement extends GemElement {
13 #private;
14 checked: boolean;
15 indeterminate: boolean;
16 disabled: boolean;
17 change: Emitter<boolean>;
18 value: string;
19 constructor();
20 render: () => import("lit-html/lib/template-result").TemplateResult;
21}
22/**
23 * @customElement dy-checkbox-group
24 * @attr disabled
25 */
26export declare class DuoyunCheckboxGroupElement extends GemElement {
27 #private;
28 orientation: 'horizontal' | 'vertical';
29 disabled: boolean;
30 change: Emitter<any[]>;
31 value?: any[];
32 options?: Option[];
33 constructor();
34 willMount: () => void;
35 render: () => import("lit-html/lib/template-result").TemplateResult | null;
36}
37//# sourceMappingURL=checkbox.d.ts.map
\No newline at end of file