UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

29 lines (28 loc) 764 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; export interface FloatingBubbleProps { rootStyle?: StyleValue; rootClass?: string; draggable?: boolean; axis?: 'x' | 'y' | 'both' | 'none'; magnet?: 'x' | 'y'; gapX?: number; gapY?: number; offset?: { x: number; y: number; }; navbarHeight?: number; tabbarHeight?: number; } export declare const defaultFloatingBubbleProps: () => DefaultProps<FloatingBubbleProps>; export interface FloatingBubbleSlots { default?(props: Record<string, never>): any; } export interface FloatingBubbleEmits { (e: 'click', event: any): void; (e: 'update:offset', offset: { x: number; y: number; }): void; }