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

33 lines
711 B
JavaScript
Raw Normal View History

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