vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
43 lines (42 loc) • 1.16 kB
TypeScript
import { PropType } from "vue";
import { DropdownOption } from "../slds-dropdown/dropdown-option";
declare const _default: import("vue").DefineComponent<{
/**
* Dropdown options.
*/
dropdownOptions: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
/**
* Indicates whether the dropdown is open.
*/
isOpen: {
type: BooleanConstructor;
required: true;
};
}, unknown, unknown, {}, {
/**
* Handles the click event on the option.
* @param option Clicked option.
*/
handleClickOption(option: DropdownOption): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Dropdown options.
*/
dropdownOptions: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
/**
* Indicates whether the dropdown is open.
*/
isOpen: {
type: BooleanConstructor;
required: true;
};
}>>, {
dropdownOptions: DropdownOption[];
}, {}>;
export default _default;