Class “ActivityIndicator”

Object > NativeObject > Widget > ActivityIndicator

A widget representing a spinning indicator for indeterminate loading / processing time.

ActivityIndicator on Android
Android
ActivityIndicator on iOS
iOS
Constructor public
Singleton No
Namespace tabris
Direct subclasses None
JSX support Element: <ActivityIndicator/>
Parent element: <Composite/> and any widget extending Composite
Child elements: None
Text content: Not supported

Example

import {ActivityIndicator, contentView} from 'tabris';

new ActivityIndicator()
  .appendTo(contentView);

See also:

JSX Creating a simple ActivityIndicator

Constructor

new ActivityIndicator(properties?)

Parameter Type Optional Description
properties Properties<ActivityIndicator> Yes Sets all key-value pairs in the properties object as widget properties.

Properties

tintColor

The color of the indicator.

Type ColorValue
Settable Yes
Change events Yes

Change Events

tintColorChanged

Fired when the tintColor property has changed.

Parameter Type Description
value ColorValue The new value of tintColor.