@variantjs/vue
Version:
Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS
20 lines (19 loc) • 702 B
TypeScript
import { Placement, Options } from '@popperjs/core';
import { WithVariantPropsAndClassesList, TDropdownClassesValidKeys, Data } from '@variantjs/core';
import { HTMLAttributes } from 'vue';
export declare type TDropdownOptions = WithVariantPropsAndClassesList<{
text?: string;
disabled?: boolean;
tagName?: string;
dropdownTagName?: string;
dropdownAttributes?: Data;
toggleOnFocus?: boolean;
toggleOnClick?: boolean;
toggleOnHover?: boolean;
show?: boolean;
hideOnLeaveTimeout?: number;
teleport?: boolean;
teleportTo?: string | HTMLElement;
placement?: Placement;
popperOptions?: Options;
} & HTMLAttributes & Data, TDropdownClassesValidKeys>;