ActivityIndicator

The ActivityIndicator component visually indicates that a task of unknown duration is in progress, e.g. busy indication, connection in progress indication, etc. More...

Import Statement: import Ubuntu.Components 1.1

Properties

Detailed Description

Note: for time consuming JavaScript operations use WorkerScript, otherwise no UI interaction will be possible and the ActicityIndicator animation will freeze.

This component is under heavy development.

Example:

Item {
    ActivityIndicator {
        id: activity
    }

    Button {
        id: toggleActive
        text: (activity.running) ? "Deactivate" : "Activate"
        onClicked: activity.running = !activity.running
    }
}

Property Documentation

running : bool

This QML property is under development and is subject to change.

Presents whether there is activity to be visualized or not. The default value is false. When activated (set to true), an animation is shown indicating an ongoing activity, which continues until deactivated (set to false).