tdesign-vue
Version:
41 lines (40 loc) • 1.81 kB
TypeScript
import { TdAffixProps } from './type';
import './style';
export declare const Affix: import("vue/types/vue").ExtendedVue<{
classPrefix: string;
componentName: string;
commonSizeClassName: Record<string, string>;
commonStatusClassName: Record<string, string>;
} & Record<never, any> & import("../config-provider/config-receiver").ConfigComponent & import("vue").default & import("./affix").Affix, unknown, {
handleScroll(): void;
}, unknown, {
container: import("..").ScrollContainer;
content: string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue);
default: string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue);
offsetBottom: number;
offsetTop: number;
zIndex: number;
onFixedChange: (affixed: boolean, context: {
top: number;
}) => void;
}> & import("vue").PluginObject<import("vue/types/vue").ExtendedVue<{
classPrefix: string;
componentName: string;
commonSizeClassName: Record<string, string>;
commonStatusClassName: Record<string, string>;
} & Record<never, any> & import("../config-provider/config-receiver").ConfigComponent & import("vue").default & import("./affix").Affix, unknown, {
handleScroll(): void;
}, unknown, {
container: import("..").ScrollContainer;
content: string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue);
default: string | ((h: import("vue").CreateElement) => import("vue/types/vnode").ScopedSlotReturnValue);
offsetBottom: number;
offsetTop: number;
zIndex: number;
onFixedChange: (affixed: boolean, context: {
top: number;
}) => void;
}>>;
export * from './type';
export declare type AffixProps = TdAffixProps;
export default Affix;