Files
cssd-back/node_modules/vuetify/lib/components/VList/VListTileAction.js
T
2019-07-15 13:07:31 +04:30

20 lines
763 B
JavaScript
Vendored

// Types
import Vue from 'vue';
/* @vue/component */
export default Vue.extend({
name: 'v-list-tile-action',
functional: true,
render: function render(h, _ref) {
var data = _ref.data,
_ref$children = _ref.children,
children = _ref$children === undefined ? [] : _ref$children;
data.staticClass = data.staticClass ? 'v-list__tile__action ' + data.staticClass : 'v-list__tile__action';
var filteredChild = children.filter(function (VNode) {
return VNode.isComment === false && VNode.text !== ' ';
});
if (filteredChild.length > 1) data.staticClass += ' v-list__tile__action--stack';
return h('div', data, children);
}
});
//# sourceMappingURL=VListTileAction.js.map