UNPKG

gtht-miniapp-sdk

Version:

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

29 lines (28 loc) 677 B
import { type StyleValue } from 'vue'; export interface FloatingBubbleProps { rootStyle?: StyleValue; rootClass?: string; axis?: 'x' | 'y' | 'both' | 'none'; magnet?: 'x' | 'y'; gapX?: number; gapY?: number; offset?: { x: number; y: number; }; } export declare const defaultFloatingBubbleProps: { axis: FloatingBubbleProps["axis"]; gapX: number; gapY: number; }; 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; }