'use strict';

var vue = require('vue');
require('../../../../utils/index.cjs');
var styleChecker = require('../../../../utils/dom/styleChecker.cjs');

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

exports.useInjectSticky = useInjectSticky;
exports.useProvideSticky = useProvideSticky;
//# sourceMappingURL=StickyContext.cjs.map
