Skip to main content

showIndicator

Shows a loading indicator on the UI.

note

You can add multiple loading indicators at the same time. Each indicator will remain visible until explicitly hidden. If multiple indicators are displayed, the last one added will remain visible until it is hidden.

Syntax

engine.ui.showIndicator(id, title, subTitle);

Parameters

NameTypeDescription
idstring or numberThe id of the indicator.
title (optional)stringThe title.
subTitle (optional)stringThe subtitle.

Example

engine.ui.showIndicator('my-id', 'Loading...', '(1/10)');

Available on: Client