UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

44 lines (41 loc) 1.94 kB
import _sfc_main from './index.vue_vue_type_script_lang.mjs'; import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, resolveDynamicComponent, withCtx, renderSlot, createCommentVNode } from 'vue'; import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_bar = resolveComponent("bar"); return openBlock(), createElementBlock("div", { class: normalizeClass(_ctx.prefixCls), ref: "scrollbar" }, [ createElementVNode("div", { class: normalizeClass(_ctx.wrapperClasses), style: normalizeStyle(_ctx.wrapperStyles), onScroll: _cache[0] || (_cache[0] = (...args) => _ctx.handleScroll && _ctx.handleScroll(...args)), ref: "scrollbarWrapper" }, [ (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), { class: normalizeClass(_ctx.contentClasses), style: normalizeStyle(_ctx.contentStyle), ref: "resize" }, { default: withCtx(() => [ renderSlot(_ctx.$slots, "default") ]), _: 3 }, 8, ["class", "style"])) ], 38), createCommentVNode(" \u662F\u5426\u4F7F\u7528\u539F\u751F\u6EDA\u52A8\u6761\u6837\u5F0F "), !_ctx.native ? (openBlock(), createBlock(_component_bar, { key: 0, barHeight: _ctx.data.barHeight, barWidth: _ctx.data.barWidth, always: _ctx.always, ratioX: _ctx.data.ratioX, ratioY: _ctx.data.ratioY, ref: "bar" }, null, 8, ["barHeight", "barWidth", "always", "ratioX", "ratioY"])) : createCommentVNode("v-if", true) ], 2); } var Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-scrollbar\\index.vue"]]); export { Scrollbar as default }; //# sourceMappingURL=index2.mjs.map