Transition

API ReferenceRendererTransition

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()

Static method of
Transition
Parameters
  • options — Objectoptional
Returns
Transition

Source


constructor()

Extends
Renderer.Extension
Returns
Transition

Source


animation

Type
PropertyAnimation

onAnimationChange()

Parameters
  • oldValue — PropertyAnimation
Type
Signal

Source


property

Type
String

onPropertyChange()

Parameters
  • oldValue — String
Type
Signal

Source

results matching ""

    No results matching ""