ScriptAction QML Type

Defines scripts to be run during an animation. 更多...

导入语句: import QtQuick .
Since: Qt Quick Ultralite 1.0
继承:

动画

特性

详细描述

ScriptAction can be used to run a script at a specific point in an animation.

SequentialAnimation {
    NumberAnimation {
        // ...
    }
    ScriptAction { script: doSomething(); }
    NumberAnimation {
        // ...
    }
}
						

特性文档编制

script : script

This property holds the script to run.