Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble applying the pull down refresh action in Cordova InAppbrowser WebView? #162

Open
harshgrovr opened this issue Aug 30, 2019 · 0 comments

Comments

@harshgrovr
Copy link

harshgrovr commented Aug 30, 2019

I am opening a webpage inAppBrowser. I want to reload the page when user pull down the page.

Index.html (part)

*<script type="text/javascript" src="js/index.js"></script>

INDEX.JS

loading a webpage via inAppBrowser, in index.js

'
ref = cordova.InAppBrowser.open(env, '_blank','clearcache=no,location=no, clearsessioncache=no, footer=no,zoom=no' );

    new jQuery(function(){

                        new jQuery(".iscroll-wrapper").bind({
                            iscroll_onpulldown: onPullDown,
                            iscroll_onpullup: onPullUp
                        });

                        new jQuery( document ).ready(function() {
                                console.log( "ready!" );
                                alert('ready');
                        });
    });

'
How to bind the event with webview that is opened in inAPPBrowser

@harshgrovr harshgrovr changed the title Unable to apply the pull down refresh action in Cordova InAppbrowser Trouble applying the pull down refresh action in Cordova InAppbrowser WebView Aug 30, 2019
@harshgrovr harshgrovr changed the title Trouble applying the pull down refresh action in Cordova InAppbrowser WebView Trouble applying the pull down refresh action in Cordova InAppbrowser WebView? Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant