mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add can layout
This commit is contained in:
parent
0535eff7eb
commit
eb7afae2fc
@ -154,10 +154,9 @@ function Page(page) {
|
|||||||
page.Status()
|
page.Status()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 事件回调
|
// 事件回调
|
||||||
window.onresize = function(event) {
|
document.body.onkeydown = function(event) {
|
||||||
page.onlayout(event)
|
|
||||||
}, document.body.onkeydown = function(event) {
|
|
||||||
// page.oncontrol(event) || page.onscroll(event)
|
// page.oncontrol(event) || page.onscroll(event)
|
||||||
}, document.body.onkeyup = function(event) {
|
}, document.body.onkeyup = function(event) {
|
||||||
}, document.body.oncontextmenu = function(event) {
|
}, document.body.oncontextmenu = function(event) {
|
||||||
@ -165,6 +164,11 @@ function Page(page) {
|
|||||||
}, document.body.onmousedown = function(event) {
|
}, document.body.onmousedown = function(event) {
|
||||||
}, document.body.onmouseup = function(event) {
|
}, document.body.onmouseup = function(event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx.Search("feature") != "") {return}
|
||||||
|
window.onresize = function(event) {
|
||||||
|
page.onlayout(event)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
oninput: function(event, local) {var target = event.target
|
oninput: function(event, local) {var target = event.target
|
||||||
kit.History("key", -1, (event.ctrlKey? "Control+": "")+(event.shiftKey? "Shift+": "")+event.key)
|
kit.History("key", -1, (event.ctrlKey? "Control+": "")+(event.shiftKey? "Shift+": "")+event.key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user