A component which handles the sidebar and you can customize which sections you want, and which section you want as the default.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
config |
UIConfig |
❌ | createDefaultConfig() |
Config |
defaultSection |
RtkSidebarSection |
✅ | - | Default section |
enabledSections |
RtkSidebarTab[] |
✅ | - | Enabled sections in sidebar |
iconPack |
IconPack |
❌ | defaultIconPack |
Icon pack |
meeting |
Meeting |
✅ | - | Meeting object |
size |
Size |
✅ | - | Size |
states |
States |
✅ | - | States object |
t |
RtkI18n |
❌ | useLanguage() |
Language |
view |
RtkSidebarView |
✅ | - | View type |
<rtk-sidebar></rtk-sidebar><rtk-sidebar>
</rtk-sidebar><script>
const el = document.querySelector("rtk-sidebar");
el.enabledSections= [];
el.meeting= meeting
</script>