@maxpike/vue
Version:
Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS
27 lines (19 loc) • 673 B
text/typescript
import { Placement, Options } from '@popperjs/core';
import { WithVariantPropsAndClassesList, TDropdownClassesValidKeys, Data } from '@variantjs/core';
import { HTMLAttributes } from 'vue';
export 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>;