StatusBar Message

setStatusBarMessage

Set the status bar message at the bottom of HBuilderX

Parameters

Name Type Description
text String The message to show
hideAfterTimeout Number [Optional] Timeout in milliseconds after which the message will be disposed.
level String [Optional] Message level, the values are [‘warn’,’info’,’error’], default value:’info’

Returns

Type Description
Disposable A disposable which hides the status bar message.

Example

  1. hx.window.setStatusBarMessage('Verifying xxx document...', 600, 'info');

clearStatusBarMessage

Clear the status bar message, this api has no parameters and no return value.

Example

  1. hx.window.clearStatusBarMessage();