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/VListItemAvatar.js
2019-08-11 20:48:02 +02:00

33 lines
No EOL
711 B
JavaScript

// Components
import VAvatar from '../VAvatar';
/* @vue/component */
export default VAvatar.extend({
name: 'v-list-item-avatar',
props: {
horizontal: Boolean,
size: {
type: [Number, String],
default: 40
}
},
computed: {
classes() {
return {
'v-list-item__avatar--horizontal': this.horizontal,
...VAvatar.options.computed.classes.call(this),
'v-avatar--tile': this.tile || this.horizontal
};
}
},
render(h) {
const render = VAvatar.options.render.call(this, h);
render.data = render.data || {};
render.data.staticClass += ' v-list-item__avatar';
return render;
}
});
//# sourceMappingURL=VListItemAvatar.js.map