API Documentation
Documentation for developing SailfishOS applicationsTouchInteractionHint QML Type
A Touch interaction hint. More...
| Import Statement: | import Sailfish.Silica 1.0 |
| Inherits: |
Properties
- alwaysRunToEnd : bool
- direction : int
- distance : real
- interactionMode : int
- loops : int
- running : bool
- startX : real
- startY : real
Methods
Detailed Description
The TouchInteractionHint is an animated element which provides the user with a hint that some touch interaction is available.
Property Documentation
This property holds whether the interaction hint animation should run to completion when it is stopped.
This property holds the direction of the animation.
Valid values are:
| Constant | Value |
|---|---|
TouchInteraction.Left | |
TouchInteraction.Up | |
TouchInteraction.Right | |
TouchInteraction.Down |
This property holds the mode of the emulated interaction.
Valid values are:
| Constant | Description |
|---|---|
TouchInteraction.Swipe | Swipe, not starting from the edge of the screen. Sometimes called a flick. |
TouchInteraction.EdgeSwipe | Swipe, starting from the edge of the screen. |
TouchInteraction.Pull | Pulling a menu from top or bottom. |
This property holds the number of times the interaction hint animation should play.
If set to Animation.Infinite the animation will run until it is stopped. The default value is 3.