This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/vuetify/lib/components/VList/VListItemAction.js
2019-08-11 20:48:02 +02:00

22 lines
No EOL
588 B
JavaScript

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