animations for adding slides
This commit is contained in:
parent
d6a92ee3cb
commit
2a81ffd252
1 changed files with 14 additions and 0 deletions
|
@ -207,6 +207,20 @@ FocusScope {
|
|||
active: hovered || pressed
|
||||
}
|
||||
|
||||
add: Transition {
|
||||
NumberAnimation {properties: "width, height"; duration: 3000}
|
||||
NumberAnimation { properties: "opacity"; duration: 3000 }
|
||||
}
|
||||
|
||||
remove: Transition {
|
||||
NumberAnimation { properties: "width, height"; duration: 3000 }
|
||||
NumberAnimation { properties: "opacity"; duration: 3000 }
|
||||
}
|
||||
|
||||
displaced: Transition {
|
||||
NumberAnimation {properties: "x, y"; duration: 100}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue