Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
flutterui:haptic_feedback [2023/03/08 09:48] admin created |
flutterui:haptic_feedback [2023/03/08 09:51] admin |
||
---|---|---|---|
Line 4: | Line 4: | ||
<code java> | <code java> | ||
+ | Style.addStyleNames(button, "f_haptic"); | ||
</code> | </code> | ||
Possible styles are: | Possible styles are: | ||
- | ''f_haptic_light'', ''f_haptic_medium'', ''f_haptic_heavy'', ''f_haptic_click'', ''f_haptic'' | + | ''f_haptic'' - Provides vibration haptic feedback to the user for a short duration.\\ |
+ | ''f_haptic_light'' - Provides a haptic feedback corresponding a collision impact with a light mass.\\ | ||
+ | ''f_haptic_medium'' - Provides a haptic feedback corresponding a collision impact with a medium mass.\\ | ||
+ | ''f_haptic_heavy'' - Provides a haptic feedback corresponding a collision impact with a heavy mass.\\ | ||
+ | ''f_haptic_click'' - Provides a haptic feedback indication selection changing through discrete values.\\ |