← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / core
rtk-breakout-rooms-toggle
A button which toggles visibility of breakout rooms.
You need to pass the meeting object to it.
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
iconPack |
IconPack |
✅ | - | Icon pack |
meeting |
Meeting |
✅ | - | Meeting object |
size |
Size |
✅ | - | Size |
states |
States |
✅ | - | States object |
t |
RtkI18n |
✅ | - | Language |
variant |
ControlBarVariant |
✅ | - | Variant |
Usage Examples
Basic Usage
<rtk-breakout-rooms-toggle></rtk-breakout-rooms-toggle>With Properties
<rtk-breakout-rooms-toggle
size="md">
</rtk-breakout-rooms-toggle><script>
const el = document.querySelector("rtk-breakout-rooms-toggle");
el.iconPack= defaultIconPack
el.meeting= meeting
</script>