主要的网格组件,它抽象了所有的网格处理逻辑并为您进行渲染。
| 属性 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
aspectRatio |
string |
✅ | - | 每个参会者的宽高比 |
config |
UIConfig |
❌ | createDefaultConfig() |
配置对象 |
gap |
number |
✅ | - | 参会者之间的间距 |
gridSize |
GridSize |
✅ | - | 网格尺寸 |
iconPack |
IconPack |
❌ | defaultIconPack |
图标包 |
layout |
GridLayout |
✅ | - | 网格布局 |
meeting |
Meeting |
✅ | - | 会议对象 |
overrides |
any |
✅ | - | 已弃用 |
size |
Size |
✅ | - | 尺寸 |
states |
States |
✅ | - | 状态 |
t |
RtkI18n |
❌ | useLanguage() |
语言 |
<!-- component.html -->
<rtk-grid></rtk-grid><!-- component.html -->
<rtk-grid
aspectRatio="example"
gap="42"
gridSize="md">
</rtk-grid>