Transition

APIRendererTransition

Rectangle {
    width: 100; height: 100;
    color: 'red'
    pointer.onClick: function () {
        this.x = Math.random() * 300;
    }
    Transition {
        property: 'x'
        animation: NumberAnimation {
            duration: 1500
        }
    }
}

Source

Transition.New(options)

Parameters:
  • options — Objectoptional
Returns:
Transition

Source

Transition::constructor()

Extends:
Renderer.Extension
Returns:
Transition

Source

Transition::animation

Type:
PropertyAnimation

Transition::onAnimationChange(oldValue)

Parameters:
  • oldValue — PropertyAnimation
Type:
Signal

Source

Transition::property

Type:
String

Transition::onPropertyChange(oldValue)

Parameters:
  • oldValue — String
Type:
Signal

Source