UNPKG

vant

Version:

Mobile UI Components built on Vue

28 lines (27 loc) 1.01 kB
import type { ComponentPublicInstance, Ref } from 'vue'; import type { DropdownMenuProps } from './DropdownMenu'; export type DropdownMenuDirection = 'up' | 'down'; export type DropdownMenuProvide = { id: string; props: DropdownMenuProps; offset: Ref<number>; updateOffset: () => void; }; export type DropdownMenuExpose = { close: () => void; }; export type DropdownMenuInstance = ComponentPublicInstance<DropdownMenuProps, DropdownMenuExpose>; export type DropdownMenuThemeVars = { dropdownMenuHeight?: string; dropdownMenuBackground?: string; dropdownMenuShadow?: string; dropdownMenuTitleFontSize?: string; dropdownMenuTitleTextColor?: string; dropdownMenuTitleActiveTextColor?: string; dropdownMenuTitleDisabledTextColor?: string; dropdownMenuTitlePadding?: string; dropdownMenuTitleLineHeight?: number | string; dropdownMenuOptionActiveColor?: string; dropdownMenuOptionDisabledColor?: string; dropdownMenuContentMaxHeight?: string; };