@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
55 lines (54 loc) • 1.48 kB
TypeScript
export interface VvAccordionGroupItem {
title: string;
content: string;
name?: string;
disabled?: boolean;
modifiers?: string | string[];
}
export declare const VvAccordionGroupProps: {
/**
* VModel
*/
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
/**
* Accordion items
* @type VvAccordionGroupItem
*/
items: {
type: PropType<VvAccordionGroupItem[]>;
default: () => never[];
};
/**
* If true, accordion items stay open when another item is opened
*/
collapse: BooleanConstructor;
/**
* String or String[] of css classes (modifiers) that will be concatenated to prefix 'vv-accordion--'
*/
itemModifiers: {
type: PropType<string | string[]>;
default: string;
};
/**
* If true, the accordion items will be disabled
*/
disabled: BooleanConstructor;
/**
* If true, the accordion items will be opened by default
*/
not: BooleanConstructor;
storageType: {
type: PropType<`${import("../../constants").StorageType}`>;
default: import("../../constants").StorageType;
validator: (value: import("../../constants").StorageType) => boolean;
};
storageKey: StringConstructor;
modifiers: {
type: PropType<string | string[]>;
default: undefined;
};
};
export declare const VvAccordionGroupEvents: string[];