Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
百小僧 committed May 26, 2018
1 parent ae26022 commit 9a3bfad
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ <h3 name="主窗口参数 options.event 事件">主窗口参数 options.event
<span>类型</span>:Object<br />
<span>必需</span>:否<br />
<span>默认值</span><br />
<pre>{
<pre>{
// 加载事件
onload: {
// 加载之前,return false 不执行
Expand Down Expand Up @@ -613,7 +613,16 @@ <h3 name="主窗口参数 options.event 事件">主窗口参数 options.event
},
// 窗口存在事件
onexist: function (layxWindow, winform) {
}
},
// 窗口组切换事件
onswitch: {
// 切换之前,return false 不执行操作
before: function (layxWindow, winform, frameId) {
},
// 切换之后
after: function (layxWindow, winform, frameId) {
}
}
}</pre>
<span>说明</span>:监听窗口事件
</div>
Expand Down

0 comments on commit 9a3bfad

Please sign in to comment.