@scalar/api-client
Version:
the open source API testing client
43 lines • 1.52 kB
TypeScript
/**
* Simple collapsible section component that can be used to wrap content that should be collapsed and expanded
*
* Would like to replace with details/summary elements, but they are not supported in all browsers yet?
*/
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
/** Whether the disclosure is open by default. */
defaultOpen?: boolean;
/** Number of items to show in badge when collapsed. */
itemCount?: number;
/** Whether the disclosure is static and cannot be toggled. */
isStatic?: boolean;
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:modelValue": (value: boolean) => any;
}, string, import("vue").PublicProps, Readonly<{
/** Whether the disclosure is open by default. */
defaultOpen?: boolean;
/** Number of items to show in badge when collapsed. */
itemCount?: number;
/** Whether the disclosure is static and cannot be toggled. */
isStatic?: boolean;
}> & Readonly<{
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
title?: (props: {
open: any;
}) => any;
} & {
actions?: (props: {
open: any;
}) => any;
} & {
default?: (props: {
open: any;
}) => any;
}>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=CollapsibleSection.vue.d.ts.map