Object “devTools”

Object > NativeObject > DevTools

The devTools object provides methods that can assist in App development.

Type: DevTools extends NativeObject
Constructor: private
Singleton: devTools
Namespace: tabris
Direct subclasses: None
JSX Support: No

See also:

JSX devtools.jsx [► Run in Playground]

Methods

hideUi()

Hides the developer tools UI if currently visible. Note that this can cause a re-layout since the contentView grows.

Returns: undefined

isUiVisible()

Returns true if the developer tools UI is currently visible.

Returns: boolean

showUi()

Shows the developer tools UI if available and not already visible. Returns true if the UI is now visible. Returns false if the UI can not be shown because EnableDeveloperConsole is not set to true in config.xml.

Note this causes a re-layout since the contentView shrinks.

Returns: boolean