Skip to content

rtk-plugins-toggle

A button which toggles visibility of plugins. When clicked it emits a rtkStateUpdate event with the data:

TypeScript
{ activeSidebar: boolean; sidebar: 'plugins' }

Properties

| Property | Type | Required | Default | Description | |----------|------|----------|---------|-------------| | iconPack | IconPack | ❌ | defaultIconPack | Icon pack | | meeting | Meeting | ✅ | - | Meeting object | | size | Size | ✅ | - | Size | | states | States | ✅ | - | States object | | t | RtkI18n | ❌ | useLanguage() | Language | | variant | ControlBarVariant | ✅ | - | Variant |

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-plugins-toggle></rtk-plugins-toggle>

With Properties

<!-- component.html -->
<rtk-plugins-toggle
[meeting]="meeting"
size="md"
variant="button">
</rtk-plugins-toggle>