Skip to content

rtk-plugin-main

Last updated View as MarkdownAgent setup

A component which renders a plugin's UI.

The plugin's component (an HTMLElement) is placed into this element's light DOM and projected into the shadow DOM layout via a <slot>. This ensures external CSS from the consuming application continues to apply to the plugin content.

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
meeting Meeting - Meeting
plugin RTKPlugin - Plugin
t RtkI18n useLanguage() Language

Usage Examples

Basic Usage

<rtk-plugin-main></rtk-plugin-main>

With Properties

<rtk-plugin-main>
</rtk-plugin-main>
<script>
  const el = document.querySelector("rtk-plugin-main");

  el.meeting= meeting
</script>

Was this helpful?