Skip to main content
Use this API to dynamically set the background color of the page.

Parameters

PropertyTypeRequiredDescription
backgroundColorHexColorNoBackground color
backgroundColorTopHexColorNoTop area background color (iOS)
backgroundColorBottomHexColorNoBottom area background color (iOS)
successFunctionNoCallback on success
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Code Example

my.setBackgroundColor({
  backgroundColor: '#ffffff',
  backgroundColorTop: '#ffffff',
  backgroundColorBottom: '#ffffff'
});

my.setNavigationBar

Set navigation bar