hardlounge/client/components/Username.vue
2019-02-12 12:48:41 +02:00

16 lines
258 B
Vue

<template>
<span
:class="['user', $options.filters.colorClass(user.nick)]"
:data-name="user.nick"
role="button">{{ user.mode }}{{ user.nick }}</span>
</template>
<script>
export default {
name: "Username",
props: {
user: Object,
},
};
</script>