mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
![]() So animate x { ... } is basically a short-hand for PropertyAnimation { ... } <magically associated that animation with x whenever x is changed> We could also support a shared animation syntax in the future: blah := PropertyAnimation { ... } animate x with blah; animate y with blah; This patch also adds a primitive PropertyAnimation struct, which will be used by the generated code to collect the values specified in the .60 markup. |
||
---|---|---|
.. | ||
animate.60 | ||
array.60 | ||
comments.60 | ||
condition_operator.60 | ||
double_color.60 | ||
for.60 | ||
image.60 | ||
inline_component.60 | ||
layout.60 | ||
object_in_binding.60 | ||
property_animation.60 | ||
property_declaration.60 | ||
property_declaration_in_component.60 | ||
self_assign.60 | ||
signal.60 | ||
sub_elements.60 | ||
supersimple.60 | ||
unknown_item.60 |