Configuration
This section describes the configuration options of the dxLoadIndicator widget.
height
Specifies the height of the widget.
The option can hold a value of the following types.
number
The height of the widget in pixelsstring
A CSS measurement of the widget height (e.g., "55px", "80%", "auto" and "inherit")function
A function returning the widget height (e.g., height:function(){ return baseHeight - 10 + "%"; })
onDisposing
A handler for the disposing event.
Provides function parameters.
onInitialized
A handler for the initialized event.
Assign a function to perform a custom action when the widget is initialized.
onOptionChanged
A handler for the optionChanged event.
Provides function parameters.
Provides access to the widget instance.
Specifies the name of the option whose value is changed.
Specifies a full name of the option whose value is changed. The full name is formed by concatenating the names of the options that are presented in the hierarchy of the given option. The names are delimited by commas.
Specifies a new value for the option.
An HTML element of the widget.
Provides access to the data that is available for binding against the element. Available only in the Knockout and AngularJS approaches.
Assign a function to perform a custom action after an option of the component is changed.
rtlEnabled
Specifies whether or not the current component supports a right-to-left representation.
If you need to switch the display of this DevExtreme component to right-to-left, enable a specifically designed configuration option - rtlEnabled. When this option is set to true, the text flows from right to left, and the layout the component's elements is reversed. To switch the entire application/site to a right-to-left representation, use the static DevExpress.rtlEnabled field.
width
Specifies the width of the widget.
The option can hold a value of the following types.
- numeric
The widget width in pixels. - string
A CSS measurement of the widget width (e.g., "55px", "80%", "auto" and "inherit"). function
The function returning the widget width. For example, see the following code.JavaScriptwidth: function () { return baseWidth - 10 + "%"; }