SwiftUI React Nativev6.3.3
  • Values
  • Runtime

Getting started

  • Introduction
  • Installation
  • Quick start

Concepts

  • Reading the reference
  • Composing modifiers
  • Values
  • State and data flow

About

  • What it is
  • Why SwiftUI
  • History

Under the hood

  • How it renders
  • How it's generated
  • Principles
ValuesGestures and input

SpatialTapGestureValue

The attributes of a tap gesture.

StructureiOS 16.0+macOS 13.0+watchOS 9.0+visionOS 1.0+

Declaration#

React
type SpatialTapGestureValue = { readonly location: CGPoint; };

Type methods#

Properties#

  • location*CGPoint

See also#

More in Gestures and input.

  • AutomaticHoverEffectThe default hover effect based on the surrounding context.
  • CustomHoverEffectA type that represents how a view should change when a pointer hovers over a view, or when someone looks at the view.
  • DragConfigurationThe behavior of the drag, proposed by the dragging source. A value that describes the drag operations a drag source supports.
  • DragConfigurationOperationsOutsideAppDescribes the suggested drag operations to other applications.
  • DragConfigurationOperationsWithinAppDescribes the drag operations suggested to destinations within the app.
  • DragGestureA dragging motion that invokes an action as the drag-event sequence changes.
  • DragGestureValueThe attributes of a drag gesture.
  • DragSessionDescribes the ongoing dragging session.
  • DragSessionIDThe identifier of a drag session.
  • DragSessionPhaseThe phase of the current drag session
  • GestureAn instance that matches a sequence of events to a gesture, and returns a stream of values for each of its states.
  • GestureChainGesture with chained calls: SwiftUI.Gesture.exclusively(...).

On this page

0%
  • Declaration
  • Type methods
  • Properties
  • See also
Report an issue