Skip to main content

Enumeration: TouchButtonOnTouchedAction

Actions that TouchButton can take in response to being touched.

Enumeration Members

Hold

Hold = "Hold"

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.

Defined in

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


Ignore

Ignore = "Ignore"

The button takes no action as if it were disabled.

Defined in

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


Press

Press = "Press"

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

Defined in

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


Prime

Prime = "Prime"

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.

Defined in

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