16 lines
258 B
Vue
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>
|