UNPKG

@empathyco/x-components

Version:
17 lines (14 loc) 745 B
import _sfc_main from './device-detector.vue2.js'; import { resolveComponent, openBlock, createBlock, createCommentVNode } from 'vue'; import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_GlobalEvents = resolveComponent("GlobalEvents"); return !_ctx.force ? (openBlock(), createBlock(_component_GlobalEvents, { key: 0, target: "window", onResize: _ctx.throttledStoreWindowWidth }, null, 8, ["onResize"])) : createCommentVNode("v-if", true); } var deviceDetector = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { deviceDetector as default }; //# sourceMappingURL=device-detector.vue.js.map