UI Widgets LoadIndicator

The widget used to indicate the loading process.

Included in: dx.phonejs.js, dx.webappjs.js, dx.all.js

The dxLoadIndicator widget represents a loading process indicator displayed over the current view.

This widget, like any other DevExtreme UI widget, can be created using one of three possible approaches: jQuery, Knockout or AngularJS. The following code demonstrates how to create the dxLoadIndicator widget using the Knockout approach.

<div data-bind="dxLoadIndicator:{ visible: indicatorVisible }"></div>

Declare an observable Boolean variable and assign it to the visible configuration option to control widget visibility.

var indicatorVisible = ko.observable(false);
See Also
  • To learn how to create widgets in detail, refer to the Create a Widget article.
Show Example:
<div class="button" data-bind="dxButton:{text: 'Load', clickAction: showIndicator}"></div><br />
<div id="indicator" data-bind="dxLoadIndicator: { visible: indicatorVisible }">
indicatorVisible = ko.observable(false);
showIndicator = function () {
    setTimeout($.proxy(this.hideIndicator, this), 3000);
hideIndicator = function () {
body {
    text-align: center;
    margin-top: 25px;
    position: absolute;
    margin: 50px;


This section describes the configuration options of the dxLoadIndicator widget.


This section describes methods that can be used to manipulate a widget.


This section describes events fired by this component.