vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
71 lines (70 loc) • 2.62 kB
TypeScript
import type { PropType } from "vue";
import type { AccordionSection } from "./accordion-section";
declare const _default: import("vue").DefineComponent<{
/**
* Expands the specified accordion section passing in a string for a single section.
* By default, only the first section in the accordion is expanded.
*/
activeSectionName: StringConstructor;
/**
* Expands the specified accordion sections passing in a list of section names.
* To support multiple expanded sections, include allow-multiple-sections-open in your markup.
* By default, only the first section in the accordion is expanded.
*/
activeSectionNames: {
type: PropType<string[]>;
default: () => string[];
};
/**
* If present, the accordion allows multiple open sections.
* Otherwise, opening a section closes another that's currently open.
*/
allowMultipleSectionsOpen: BooleanConstructor;
/**
* Accordion sections.
*/
sections: PropType<AccordionSection[]>;
}, unknown, {
/**
* Private variable to track the active section name.
*/
internalActiveSectionName: string;
/**
* Private variable to track the active section names.
*/
internalActiveSectionNames: string[];
}, {}, {
/**
* Handles the active section change event.
* @param input New section name.
*/
handleActiveSectionChange(input: string | string[] | undefined): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Expands the specified accordion section passing in a string for a single section.
* By default, only the first section in the accordion is expanded.
*/
activeSectionName: StringConstructor;
/**
* Expands the specified accordion sections passing in a list of section names.
* To support multiple expanded sections, include allow-multiple-sections-open in your markup.
* By default, only the first section in the accordion is expanded.
*/
activeSectionNames: {
type: PropType<string[]>;
default: () => string[];
};
/**
* If present, the accordion allows multiple open sections.
* Otherwise, opening a section closes another that's currently open.
*/
allowMultipleSectionsOpen: BooleanConstructor;
/**
* Accordion sections.
*/
sections: PropType<AccordionSection[]>;
}>>, {
activeSectionNames: string[];
allowMultipleSectionsOpen: boolean;
}, {}>;
export default _default;