routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import type { CSSProperties, Ref, StyleValue } from 'vue';
|
||||
interface StickyProps {
|
||||
rootEl: Ref<HTMLElement | undefined>;
|
||||
isSticky: Ref<boolean>;
|
||||
layoutItemStyles: Ref<CSSProperties>;
|
||||
}
|
||||
export declare function useSticky({ rootEl, isSticky, layoutItemStyles }: StickyProps): {
|
||||
isStuck: import("vue").ShallowRef<"bottom" | "top" | boolean, "bottom" | "top" | boolean>;
|
||||
stickyStyles: import("vue").ComputedRef<StyleValue>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user