UNPKG

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