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

Feature Request: add progress bar #67

Closed
duongnhatduy opened this issue Sep 3, 2014 · 9 comments
Closed

Feature Request: add progress bar #67

duongnhatduy opened this issue Sep 3, 2014 · 9 comments

Comments

@duongnhatduy
Copy link

No description provided.

@aogilvie
Copy link
Contributor

aogilvie commented Sep 4, 2014

Sorry, can you add a description? What would the progress bar do? What's it for?

@duongnhatduy
Copy link
Author

It's like the progress bar in any web browser. When loading a url as src, it displays the progress. In Android, I think there's a Progress Bar that you can add to a ChromeView. I have successfully implemented that on Android, but I don't know about ios

@aogilvie
Copy link
Contributor

aogilvie commented Sep 4, 2014

If you need a native loader / spinner I recommend https://github.com/Wizcorp/phonegap-plugin-wizSpinner

@duongnhatduy
Copy link
Author

Well, I need it to display the actual progress. I will work on it and see what I can do

@aogilvie
Copy link
Contributor

aogilvie commented Sep 4, 2014

Sure, my suggestion for you is to create a progressbar.html with your JavaScript and HTML.

When you app starts create a new view and load progressbar.html. (This will be very fast because, you html will be in your app on disk). Then show/hide the progress bar view when you need it.

@aogilvie
Copy link
Contributor

@duongnhatduy Any update? I think this feature can be done in HTML, therefore it is not a feature for this plugin.

@duongnhatduy
Copy link
Author

Agree, I'm just wondering if there would be onprogress callback

@aogilvie
Copy link
Contributor

I'm happy to implement this: #66 that would give you a wizViewLoaded and wizViewLoading, events with view name.

@duongnhatduy
Copy link
Author

Yest, that would solve my problem, thanks

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

2 participants