跳转到内容
搜索文档

rtk-mixed-grid

最后更新 查看 MarkdownAgent 设置

用于处理屏幕共享、插件和参与者的网格组件。

属性

属性 类型 必填 默认值 描述
aspectRatio string - 参与者视窗的宽高比 格式:width:height
config UIConfig createDefaultConfig() UI 配置
gap number - 参与者视窗之间的间距
gridSize GridSize1 - 网格尺寸
iconPack IconPack defaultIconPack 图标包
layout GridLayout1 - 网格布局
meeting Meeting - Meeting 对象
participants Peer[] - 参与者
pinnedParticipants Peer[] - 固定的参与者
plugins RTKPlugin[] - 活跃的插件
screenShareParticipants Peer[] - 共享屏幕的参与者
size Size - 尺寸
states States - States 对象
t RtkI18n useLanguage() 语言

使用示例

基本用法

<!-- component.html -->
<rtk-mixed-grid></rtk-mixed-grid>

使用属性

<!-- component.html -->
<rtk-mixed-grid
 aspectRatio="example"
 gap="42"
 gridSize="md">
</rtk-mixed-grid>

这篇文档对您有帮助吗?