Element for adding flick gestures to a html.MouseBox element. This element must have a html.MouseBox as ancestor.
Flicking scrolls the target element by changing the contentX
and contentY
properties.
Example:
MouseBox {
fillWidth: true
fillHeight: true
overflowBehavior: "scroll"
Image {
source: "veryLargeImage.jpg"
}
FlickGesture { }
}
Properties:
Name | Type | Description |
---|---|---|
enabled |
bool | (default: |
reverseX |
bool | (default: |
reverseY |
bool | (default: |
target |
html.Item | (default: |