/
githubmirror
/
socket.io
Обзор
Документация
Войти
/
githubmirror
/
socket.io
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/private-messaging/src/components/StatusIcon.vue
27 строк
393 B
Damien Arrachequesne
docs(examples): 1st part of the "private messaging" example
10 фев 2021, 02:33
Не верифицирован
10 фев 2021, 02:33
8b404f4
Код
Авторство
О чём код?
<template> <i class="icon" :class="{ connected: connected }"></i> </template> <script> export default { name: "StatusIcon", props: { connected: Boolean, }, }; </script> <style scoped> .icon { height: 8px; width: 8px; border-radius: 50%; display: inline-block; background-color: #e38968; margin-right: 6px; } .icon.connected { background-color: #86bb71; } </style>