ivue-material-plus
Version:
A high quality UI components Library with Vue.js
101 lines (100 loc) • 2.55 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<{
/**
* 距离窗口顶部达到指定偏移量后触发
*
* @type {Number}
*/
offsetTop: {
type: NumberConstructor;
default: number;
};
/**
* 距离窗口底部达到指定偏移量后触发
*
* @type {Number}
*/
offsetBottom: {
type: NumberConstructor;
};
/**
* addEventListener 原生的 useCapture 选项
*
* @type {Boolean}
*/
useCapture: {
type: BooleanConstructor;
default: boolean;
};
/**
* 设置 Affix 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数
*
* @type {HTMLElement}
*/
target: {
type: {
new (): HTMLElement;
prototype: HTMLElement;
};
};
}, {
wrapper: import("vue").Ref<HTMLDivElement>;
content: import("vue").Ref<HTMLDivElement>;
affixStyle: import("vue").Ref<{
width?: string;
height?: string;
top?: string;
bottom?: string;
}>;
placeholderStyle: import("vue").Ref<{
width?: string;
height?: string;
}>;
classes: import("vue").ComputedRef<{
[x: string]: boolean;
}[]>;
lazyUpdatePosition: import("lodash-unified").DebouncedFunc<() => void>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "on-change"[], "on-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* 距离窗口顶部达到指定偏移量后触发
*
* @type {Number}
*/
offsetTop: {
type: NumberConstructor;
default: number;
};
/**
* 距离窗口底部达到指定偏移量后触发
*
* @type {Number}
*/
offsetBottom: {
type: NumberConstructor;
};
/**
* addEventListener 原生的 useCapture 选项
*
* @type {Boolean}
*/
useCapture: {
type: BooleanConstructor;
default: boolean;
};
/**
* 设置 Affix 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数
*
* @type {HTMLElement}
*/
target: {
type: {
new (): HTMLElement;
prototype: HTMLElement;
};
};
}>> & {
"onOn-change"?: (...args: any[]) => any;
}, {
offsetTop: number;
useCapture: boolean;
}>;
export default _sfc_main;