import { shallowRef, onMounted } from 'vue';
import '../../../../utils/index.mjs';
import { isStyleSupport } from '../../../../utils/dom/styleChecker.mjs';

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

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