1 | import { Emitter } from '@mantou/gem/lib/decorators';
|
2 | import { GemElement, TemplateResult } from '@mantou/gem/lib/element';
|
3 | import { DuoyunScrollBaseElement } from './base/scroll';
|
4 | import './use';
|
5 | import './compartment';
|
6 | import './divider';
|
7 | export interface TabItem<T = any> {
|
8 | tab: string | TemplateResult;
|
9 | value?: T;
|
10 | icon?: string | Element | DocumentFragment;
|
11 | getContent?: () => string | TemplateResult;
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 | export declare class DuoyunTabsElement extends GemElement {
|
17 | #private;
|
18 | static tabs: string;
|
19 | static tab: string;
|
20 | static currentTab: string;
|
21 | static icon: string;
|
22 | static marker: string;
|
23 | static divider: string;
|
24 | center: boolean;
|
25 | orientation: 'horizontal' | 'vertical';
|
26 | data?: TabItem[];
|
27 | value?: any;
|
28 | change: Emitter<any>;
|
29 | constructor();
|
30 | render: () => TemplateResult;
|
31 | }
|
32 | /**
|
33 | * @customElement dy-tab-panel
|
34 | */
|
35 | export declare class DuoyunTabPanelElement extends DuoyunScrollBaseElement {
|
36 | vertical: boolean;
|
37 | constructor();
|
38 | }
|
39 | //# sourceMappingURL=tabs.d.ts.map |
\ | No newline at end of file |