Search code examples
cordovaibm-mobilefirstwindow.open

IBM Worklight - Is there a Window.open() equivalent?


I searched the WL API in the Information Center but didn't find a WL equivalent API to the Cordova window.open() which will open the URL in an in app browser (using the _blank option for example).

Does one exist or should I just use the cordova API?


Solution

  • WL.App.openURL is an implementation of what you are looking for it. Underlying it is Cordova.

    Though, Window.open() has some advantages. I have a writeup comparing different ways of opening server side pages.