JavaScript API for UI controls
With IBM MobileFirst Platform Foundation, we can use a JavaScript API to call user-interface controls common to most environments, such as modal pop-up windows, loading screens, or tab bars. Use the following API to render these controls automatically in a native way for each mobile platform.
See Get Started page.
WL.BusyIndicator
Display a modal activity indicator. Uses native implementation on Android, iPhone, and Windows Phone platforms.
See WL.BusyIndicator.
WL.OptionsMenu
Display a menu of options for Android and Windows Phone.
See WL.OptionsMenu.
WL.SimpleDialog
Show a modal dialog window with buttons. uses native implementation on mobile platforms. The dialog closes when the user presses any of the buttons.
See: WL.SimpleDialog
WL.TabBar
Support tabbed application navigation with a tab bar component for Android and iOS environments.
See:
Parent topic: Develop user interface of hybrid applications