ivue-material-plus
Version:
A high quality UI components Library with Vue.js
48 lines (43 loc) • 2.01 kB
JavaScript
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var index_vue_vue_type_script_lang = require('./index.vue_vue_type_script_lang.js');
var vue = require('vue');
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_bar = vue.resolveComponent("bar");
return vue.openBlock(), vue.createElementBlock("div", {
class: vue.normalizeClass(_ctx.prefixCls),
ref: "scrollbar"
}, [
vue.createElementVNode("div", {
class: vue.normalizeClass(_ctx.wrapperClasses),
style: vue.normalizeStyle(_ctx.wrapperStyles),
onScroll: _cache[0] || (_cache[0] = (...args) => _ctx.handleScroll && _ctx.handleScroll(...args)),
ref: "scrollbarWrapper"
}, [
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
class: vue.normalizeClass(_ctx.contentClasses),
style: vue.normalizeStyle(_ctx.contentStyle),
ref: "resize"
}, {
default: vue.withCtx(() => [
vue.renderSlot(_ctx.$slots, "default")
]),
_: 3
}, 8, ["class", "style"]))
], 38),
vue.createCommentVNode(" \u662F\u5426\u4F7F\u7528\u539F\u751F\u6EDA\u52A8\u6761\u6837\u5F0F "),
!_ctx.native ? (vue.openBlock(), vue.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"])) : vue.createCommentVNode("v-if", true)
], 2);
}
var Scrollbar = /* @__PURE__ */ _pluginVue_exportHelper["default"](index_vue_vue_type_script_lang["default"], [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-scrollbar\\index.vue"]]);
exports["default"] = Scrollbar;
//# sourceMappingURL=index2.js.map