Ubuntu.Components.UbuntuNumberAnimation

UbuntuNumberAnimation is a NumberAnimation that has predefined settings to ensure that Ubuntu applications are consistent in their animations. More...

Import Statement: import Ubuntu.Components 1.3
Inherits:

NumberAnimation

Detailed Description

Example of use:

import QtQuick 2.4
import Ubuntu.Components 1.3
Rectangle {
width: 100; height: 100
color: UbuntuColors.orange
UbuntuNumberAnimation on x { to: 50 }
}

UbuntuNumberAnimation is predefined with the following settings:

If the standard duration and easing used by UbuntuNumberAnimation do not satisfy a use case or you need to use a different type of Animation (e.g. ColorAnimation), use standard durations and easing defined in UbuntuAnimation manually in order to ensure consistency.