sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
20 lines (19 loc) • 621 B
TypeScript
import { type NodeRect } from '../../utils';
import { type ComponentInternalInstance, type InjectionKey, type StyleValue } from 'vue';
export interface StickyBoxProps {
rootStyle?: StyleValue;
rootClass?: string;
}
export interface StickyBoxSlots {
default?(props: Record<string, never>): any;
}
export interface StickyBoxEmits {
}
export interface StickyBoxExpose {
}
export declare const stickyContextSymbol: InjectionKey<{
boxId: string;
onResize: (callback: (res: NodeRect) => void) => void;
offResize: (callback: (res: NodeRect) => void) => void;
instance: ComponentInternalInstance;
}>;