Skip to main content

Enumeration: TouchButtonOnTouchedAction

Defined in: src/garminsdk/components/touchbutton/TouchButton.tsx:8

Actions that TouchButton can take in response to being touched.

Enumeration Members

Hold

Hold: "Hold"

Defined in: src/garminsdk/components/touchbutton/TouchButton.tsx:25

The button becomes held. The button will remain held until the mouse button is released, the mouse leaves the button, mouse events are inhibited by dragging, or the button becomes disabled.


Ignore

Ignore: "Ignore"

Defined in: src/garminsdk/components/touchbutton/TouchButton.tsx:28

The button takes no action as if it were disabled.


Press

Press: "Press"

Defined in: src/garminsdk/components/touchbutton/TouchButton.tsx:19

The button is immediately pressed once. The button does not enter the primed state. Holding down the mouse button will not trigger additional presses.


Prime

Prime: "Prime"

Defined in: src/garminsdk/components/touchbutton/TouchButton.tsx:13

The button becomes primed. A primed button will be pressed if and when the mouse button is released. If the mouse leaves the button before the mouse button is released, the button becomes un-primed and is not pressed.