html5 - There is a delay in the show method of webview in h5+
某草草
某草草 2017-05-18 10:51:36
0
1
1073



Click the button in Figure 1 and execute the following code to display the new webview:

        $('#w_menu').on('tap', function() {    
            if(window.plus){
                // 打开弹出层
                plus.webview.show(menuWebview,"slide-in-bottom",1500);
            }else{
                mui.alert("请在html5+引擎环境使用");
            }
            return;
        });

But after clicking the button in Figure 1, the webview in Figure 2 will appear after a delay. That is to say, after the tap event is executed, the show method of the webview is not executed immediately. Why is this?

某草草
某草草

reply all(1)
仅有的幸福

There is a delay in communication between webview and native.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template