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

22 lines
588 B
JavaScript
Raw Normal View History

2019-08-11 18:48:02 +00:00
// 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