场景15:Component 模式自定义配置
更新时间:2026-06-12 20:07:17

Component 模式自定义配置

说明

Component 模式支持在初始化时,设置显示窗口的大小,显示位置,是否可移动等配置。

具体可配置选项可查看 完整接口介绍 初始化 init 中关于 componentCustom 字段参数说明。

示例代码

await YlinkMeeting.init({
	...,
    componentCustom: {
	    moveable: true,
    	mainWindowOptions: {
			  width: 1024,
  	  	height: 672,
				top: 20,
				left: 20
			}
	}
});
本页目录