import { shallowRef, onMounted } from 'vue';
import { isStyleSupport } from '../../_util/styleChecker.mjs';

const supportSticky = shallowRef(false);
const useProvideSticky = () => {
  onMounted(() => {
    supportSticky.value = supportSticky.value || isStyleSupport("position", "sticky");
  });
};
const useInjectSticky = () => {
  return supportSticky;
};

export { useInjectSticky, useProvideSticky };
//# sourceMappingURL=StickyContext.mjs.map
