UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

42 lines (39 loc) 1.67 kB
import _sfc_main from './index.vue_vue_type_script_lang.mjs'; import { resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createVNode, createTextVNode, vShow } from 'vue'; import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_ivue_icon = resolveComponent("ivue-icon"); return openBlock(), createBlock(Transition, { name: "fade", persisted: "" }, { default: withCtx(() => [ withDirectives(createElementVNode("div", { class: normalizeClass(_ctx.wrapperClasses), style: normalizeStyle(_ctx.wrapperStyles), onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleScrollTop && _ctx.handleScrollTop(...args)) }, [ renderSlot(_ctx.$slots, "default", {}, () => [ createElementVNode("div", { class: normalizeClass(`${_ctx.prefixCls}-content`) }, [ renderSlot(_ctx.$slots, "icon", {}, () => [ createVNode(_component_ivue_icon, null, { default: withCtx(() => [ createTextVNode("arrow_upward") ]), _: 1 }) ]) ], 2) ]) ], 6), [ [vShow, _ctx.backTop] ]) ]), _: 3 }); } var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-back-top\\index.vue"]]); export { BackTop as default }; //# sourceMappingURL=index2.mjs.map