Added flicked-Callback on Flickable

As requested in #1462, I've added a `flicked`-Callback that gets
triggered when the `viewport_x`- or `viewport_y` -Properties are changed
by a mouse drag or mouse wheel movement.
This commit is contained in:
Paul Zinselmeyer 2024-02-15 23:10:37 +01:00 committed by Olivier Goffart
parent 11e8070726
commit 73e05aebdb
4 changed files with 67 additions and 8 deletions

View file

@ -138,6 +138,7 @@ export component Flickable inherits Empty {
in-out property <length> viewport-x;
in-out property <length> viewport-y;
in property <bool> interactive: true;
callback flicked();
//-default_size_binding:expands_to_parent_geometry
}