File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616- [ leoyuan] ( https://github.com/leoyuan )
1717- [ liujuping] ( https://github.com/liujuping )
1818- [ lqy978599280] ( https://github.com/lqy978599280 )
19+ - [ markyun] ( https://github.com/markyun )
1920- [ mark-ck] ( https://github.com/mark-ck )
2021- [ mochen666] ( https://github.com/mochen666 )
2122- [ tsy77] ( https://github.com/tsy77 )
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ const VALID_ENGINE_OPTIONS = {
3030 default : 'default' ,
3131 description : '设备类型' ,
3232 } ,
33+ deviceClassName : {
34+ type : 'string' ,
35+ default : undefined ,
36+ description : '指定初始化的 deviceClassName,挂载到画布的顶层节点上' ,
37+ } ,
3338 locale : {
3439 type : 'string' ,
3540 default : 'zh_CN' ,
@@ -131,6 +136,10 @@ export interface EngineOptions {
131136 * 设备类型,默认值:'default'
132137 */
133138 device ?: 'default' | 'mobile' | string ;
139+ /**
140+ * 指定初始化的 deviceClassName,挂载到画布的顶层节点上
141+ */
142+ deviceClassName ?: string ;
134143 /**
135144 * 语言,默认值:'zh_CN'
136145 */
You can’t perform that action at this time.
0 commit comments