hardlounge/client/components/Username.vue

16 lines
258 B
Vue
Raw Normal View History

<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>