Chat · Components
RoomHeader
Room header bar with name, topic, and action buttons. Displays room info and provides access to members and search.Public export
typescript
import { RoomHeader } from '@happyvertical/smrt-chat/svelte';- Import path
@happyvertical/smrt-chat/svelte- Props
- 4
- Props described
- 4 of 4
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
roomChatRoomDataYesCurrent room dataparticipantCountnumberYesNumber of participants in the roomonshowmembers() => voidNoCallback to show member list panelonshowsearch() => voidNoCallback to show message searchBindable state
This component has no bindable public state.
Callback events
onshowmembers() => voidonshowsearch() => void