vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
100 lines (99 loc) • 2.54 kB
TypeScript
import { type PropType } from "vue";
import type { DropdownOption } from "../components/slds-dropdown/dropdown-option";
declare const _default: import("vue").DefineComponent<{
bottomAlignment: BooleanConstructor;
centerAlignment: BooleanConstructor;
length: {
type: NumberConstructor;
validator(value: number): boolean;
};
/**
* Picklist options.
*/
options: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
rightAlignment: BooleanConstructor;
/**
* Indicates whether this dropdown is showing a spinner.
*/
showSpinner: BooleanConstructor;
}, unknown, {
/**
* Input filter.
*/
filter: string;
/**
* Focused option value.
*/
focusedOption: DropdownOption;
/**
* Indicates whether the input is focused.
*/
isFocused: boolean;
/**
* Indicates whether the dropdown is open.
*/
isOpen: boolean;
}, {
/**
* Filtered options.
*/
filteredOptions(): DropdownOption[];
/**
* Indicates whether there are no options on this dropdown.
*/
isEmpty(): boolean;
}, {
/**
* Clears the current options filter.
*/
clearFilter(): void;
/**
* Clears the currently focused option.
*/
clearFocusedOption(): void;
/**
* Hides the dropdown.
*/
hideDropdown(): void;
/**
* Sets the focused option as the one bellow the current one.
*/
setFocusedOptionDown(): void;
/**
* Sets the focused option as the one above the current one.
*/
setFocusedOptionUp(): void;
/**
* Shows the dropdown.
*/
showDropdown(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
bottomAlignment: BooleanConstructor;
centerAlignment: BooleanConstructor;
length: {
type: NumberConstructor;
validator(value: number): boolean;
};
/**
* Picklist options.
*/
options: {
type: PropType<DropdownOption[]>;
default: () => DropdownOption[];
};
rightAlignment: BooleanConstructor;
/**
* Indicates whether this dropdown is showing a spinner.
*/
showSpinner: BooleanConstructor;
}>>, {
showSpinner: boolean;
options: DropdownOption[];
bottomAlignment: boolean;
centerAlignment: boolean;
rightAlignment: boolean;
}, {}>;
export default _default;