You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/types/collapse/collapse.d.ts

45 lines
1.0 KiB

// 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: 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;
}