UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

43 lines (37 loc) 1.08 kB
this.primevue = this.primevue || {}; this.primevue.splitterpanel = (function (vue) { 'use strict'; var script = { name: 'SplitterPanel', props: { size: { type: Number, default: null }, minSize: { type: Number, default: null } }, computed: { containerClass() { return ['p-splitter-panel', { 'p-splitter-panel-nested': this.isNested }]; }, isNested() { return this.$slots.default().some((child) => { return child.type.name === 'Splitter'; }); } } }; function render(_ctx, _cache, $props, $setup, $data, $options) { return (vue.openBlock(), vue.createElementBlock("div", { ref: "container", class: vue.normalizeClass($options.containerClass) }, [ vue.renderSlot(_ctx.$slots, "default") ], 2)) } script.render = render; return script; })(Vue);