mirror of
https://github.com/ylw00/qxVm.git
synced 2025-04-12 12:06:58 +08:00
45 lines
600 B
JavaScript
45 lines
600 B
JavaScript
|
|
|
|
|
|
function demoLoad(){
|
|
function aaa(ooo){
|
|
console.log(ooo)
|
|
debugger;
|
|
}
|
|
|
|
|
|
window.addEventListener('load', aaa)
|
|
|
|
lwVm.callListener('load');
|
|
|
|
function target1(){ }
|
|
|
|
lwVm.callListener('load', {
|
|
target: target1,
|
|
timeStamp: 1111,
|
|
})
|
|
}
|
|
|
|
|
|
|
|
|
|
function demoClick(){
|
|
function bbb(ooo){
|
|
debugger;
|
|
console.log(ooo)
|
|
ooo.screenY
|
|
}
|
|
window.addEventListener('click', bbb)
|
|
|
|
function target1(){ }
|
|
|
|
lwVm.callListener('click', {
|
|
timeStamp: 1111,
|
|
})
|
|
}
|
|
|
|
|
|
demoLoad()
|
|
demoClick()
|
|
|
|
function get_dddd(){} |