1 | import { RefObject } from '@mantou/gem/lib/decorators';
|
2 | import { GemElement } from '@mantou/gem/lib/element';
|
3 | import { StringList } from '../lib/types';
|
4 | import { DuoyunUseElement } from './use';
|
5 | import { RouteItem } from './route';
|
6 | import { MenuItem } from './menu';
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class DuoyunButtonElement extends GemElement {
|
15 | #private;
|
16 | type: 'solid' | 'reverse';
|
17 | color: StringList<'normal' | 'danger' | 'cancel'>;
|
18 | small: boolean;
|
19 | disabled: boolean;
|
20 | dropdown?: MenuItem[] | null;
|
21 | route?: RouteItem;
|
22 | params?: Record<string, string>;
|
23 | query?: Record<string, string>;
|
24 | icon?: string | Element | DocumentFragment;
|
25 | active: boolean;
|
26 | dropdownRef: RefObject<DuoyunUseElement>;
|
27 | static button: string;
|
28 | static dropdown: string;
|
29 | constructor();
|
30 | render: () => import("lit-html/lib/template-result").TemplateResult;
|
31 | }
|
32 | //# sourceMappingURL=button.d.ts.map |
\ | No newline at end of file |