UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

23 lines (22 loc) 775 B
import { InjectionKey } from 'vue'; export type Key = string | number; export type PopupPlacement = 'top-right' | 'top-center' | 'top-left' | 'bottom-right' | 'bottom-center' | 'bottom-left'; export interface PopupItemState extends Record<string, unknown> { key: Key; content: string; closable: boolean; height: number; visible: boolean; verticalPosition: number; type?: string; className?: any; style?: any; icon?: Record<string, any> | (() => any); iconColor?: string; onOpen: (key: Key) => void; onClose: (result: boolean) => void; onEnter: () => void; onLeave: () => void; } export declare const DELETE_HANDLER: InjectionKey<(key: Key) => void>; export declare const popupPlacements: readonly PopupPlacement[];