'use strict';

var vue = require('vue');
var styleChecker = require('../../_util/styleChecker.js');

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

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