forked from vueComponent/ant-design-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcollapse.d.ts
44 lines (37 loc) · 1.01 KB
/
collapse.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from '../component';
import { CollapsePanel } from './collapse-panel';
export declare class Collapse extends AntdComponent {
static Panel: typeof CollapsePanel;
/**
* If true, Collapse renders as Accordion
* @default false
* @type boolean
*/
accordion: boolean;
/**
* Key of the active panel
* @default No default value. In accordion mode, it's the key of the first panel.
* @type string | string[]
*/
activeKey: string | string[];
/**
* Toggles rendering of the border around the collapse block
* @default true
* @type boolean
*/
bordered: boolean;
/**
* Key of the initial active panel
* @type string
*/
defaultActiveKey: string | string[];
/**
* Destroy Inactive Panel
* @default false
* @type boolean
*/
destroyInactivePanel: boolean;
}