2017-10-17 16:36:12 +08:00
|
|
|
import { VNode } from 'vue'
|
|
|
|
import { ElementUIComponent } from './component'
|
|
|
|
|
|
|
|
export interface CollapseItemSlots {
|
|
|
|
/** Content of the collapse item */
|
|
|
|
default: VNode[],
|
|
|
|
|
|
|
|
/** Title of the collapse item */
|
|
|
|
title: VNode[]
|
|
|
|
|
|
|
|
[key: string]: VNode[]
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Collapse Item Component */
|
|
|
|
export declare class ElCollapseItem extends ElementUIComponent {
|
|
|
|
/** Unique identification of the panel */
|
|
|
|
name: string | number
|
|
|
|
|
|
|
|
/** Title of the panel */
|
|
|
|
title: string
|
|
|
|
|
|
|
|
$slots: CollapseItemSlots
|
2019-04-19 12:18:44 +08:00
|
|
|
|
|
|
|
/** Disable the collapse item */
|
|
|
|
disabled: boolean
|
2017-10-17 16:36:12 +08:00
|
|
|
}
|