Skip to content

rtk-plugins-toggle

Last updated View as MarkdownAgent setup

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

{ 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

<rtk-plugins-toggle></rtk-plugins-toggle>

With Properties

<rtk-plugins-toggle
 size="md"
 variant"button">
</rtk-plugins-toggle>
<script>
  const el = document.querySelector("rtk-plugins-toggle");

  el.meeting= meeting
</script>

Was this helpful?