0
我想停止動畫這樣的動畫:停止在非root動畫節點
Behavior on x {
NumberAnimation {
id: animationElement
duration: 100
}
}
...
if (something)
{
animationElement.stop()
}
但是這個代碼給我的錯誤,即停止()不能在非root動畫節點使用。 這可能是從外面停止動畫?