vue3-select-component
Version:
A flexible & modern select-input control for Vue 3.
33 lines (32 loc) • 1.05 kB
TypeScript
type __VLS_Props = {
menu: HTMLDivElement | null;
index: number;
isFocused: boolean;
isSelected: boolean;
isDisabled: boolean;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
option: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
select: () => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onSelect?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
option: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};