← Cloudflare Realtime / realtime / realtimekit / ui-kit / api-reference / core
rtk-fullscreen-toggle
Tlačítko, které přepíná režim celé obrazovky pro libovolný
existující rtk-meeting komponenta v DOM.
Vlastnosti
| Vlastnost | Typ | Povinné | Výchozí | Popis |
|---|---|---|---|---|
iconPack |
IconPack |
❌ | defaultIconPack |
Sada ikon |
size |
Size |
✅ | - | Velikost |
states |
States |
✅ | - | Objekt States |
t |
RtkI18n |
❌ | useLanguage() |
Jazyk |
targetElement |
HTMLElement |
✅ | - | Cílový prvek pro celoobrazovkový režim |
variant |
ControlBarVariant |
✅ | - | Varianta |
Příklady použití
Základní použití
<rtk-fullscreen-toggle></rtk-fullscreen-toggle>S vlastnostmi
<rtk-fullscreen-toggle
size="md"
variant"button">
</rtk-fullscreen-toggle><script>
const el = document.querySelector("rtk-fullscreen-toggle");
</script>