vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
64 lines (63 loc) • 1.64 kB
TypeScript
import { PropType } from "vue";
import { DropdownOption } from "../slds-dropdown/dropdown-option.ts";
declare const _default: import("vue").DefineComponent<{
/**
* Indicates whether this component is disabled.
*/
disabled: BooleanConstructor;
/**
* Dropdown options.
*/
dropdownOptions: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
}, unknown, {
/**
* Indicates whether the dropdown is open.
*/
isOpen: boolean;
}, {
/**
* Indicates whether the dropdown button is visible.
*/
showDropdownButton(): boolean;
}, {
/**
* Handles the click event on the button.
*/
handleClickButton(): void;
/**
* Handles the click event on an option.
* @param option The clicked option.
*/
handleClickOption(option: DropdownOption): void;
/**
* Handles the click event outside this component.
*/
handleClickOutside(): void;
/**
* Hides the dropdown.
*/
hideDropdown(): void;
/**
* Shows the dropdown.
*/
showDropdown(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Indicates whether this component is disabled.
*/
disabled: BooleanConstructor;
/**
* Dropdown options.
*/
dropdownOptions: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
}>>, {
disabled: boolean;
dropdownOptions: DropdownOption[];
}, {}>;
export default _default;