-
Notifications
You must be signed in to change notification settings - Fork 14
openExternalUrl
Guillaume Gendre edited this page Aug 7, 2015
·
8 revisions
OpenExternal Url allows you to open an url into the device browser, instead of the current page.
For the moment, cobalt doesn't automatically open links with target=_blank because we think you may want to open them in the app. If you disagree, please create a discussion on the bug tracker !
url is the URL of the page you want to load in the browser.
example
cobalt.openExternalUrl("http://cobaltians.com")
Cobalt is an Open-Source Hybrid Mobile Framework. Read more about it on the home page or in the documentation
- Introduction to Cobalt navigation
- The cobalt.json file
- native navigation bars
- Handling the Android back button
- Introduction to Cobalt messages
- Publish/Subscribe on the Web side
- Publish/Subscribe on Android
- Publish/Subscribe on iOS
- Web Lifecycle messages
- Pull-To-Refresh and Infinite Scroll
- Custom alerts and Toasts
- LocalStorage
- OpenExternalUrl
- PlatformInfos
- Ajax
- Removing the top bar
- Adding Cobalt to an existing project
- Customizing your hybrid views
- Handle multiple Cobalt webviews on the same screen (TODO)