UNPKG

tav-ui

Version:
45 lines (44 loc) 1.14 kB
import type { ExtractPropTypes, PropType } from 'vue'; export declare const containerCollapseProps: { title: { type: StringConstructor; default: string; }; loading: { type: BooleanConstructor; }; /** * Can it be expanded */ canExpan: { type: BooleanConstructor; default: boolean; }; /** * Warm reminder on the right side of the title */ helpMessage: { type: PropType<string | string[]>; default: string; }; /** * Whether to trigger window.resize when expanding and contracting, * Can adapt to tables and forms, when the form shrinks, the form triggers resize to adapt to the height */ triggerWindowResize: { type: BooleanConstructor; }; /** * Delayed loading time */ lazyTime: { type: NumberConstructor; default: number; }; }; export declare type ContainerCollapseProps = ExtractPropTypes<typeof containerCollapseProps>; export interface ContainerCollapseOptions { canExpand?: boolean; title?: string; helpMessage?: Array<any> | string; }