- Prototope Documentation
- Animator
- Border
- CameraLayer
- CameraPosition
- Color
- Gesture
- Heartbeat
- Image
- Layer
- LayerAnimatorStore
- Math
- PanGesture
- Particle
- ParticleEmitter
- ParticlePreset
- Point
- Rect
- Shadow
- Size
- Sound
- TapGesture
- Timestamp
- TouchSample
- TouchSequence
- Tunable
- View as:
- Swift
- JavaScript
TapGesture
Method reference
-
⚓
public convenience init(_ handler: (globalLocation: Point) -> ())
-
⚓
public init(cancelsTouchesInLayer: Bool = true, numberOfTapsRequired: Int = 1, numberOfTouchesRequired: Int = 1, handler: (globalLocation: Point) -> ())
-
Variables
-
⚓
public var numberOfTouchesRequired: Int
-
⚓
public var numberOfTapsRequired: Int
-
⚓
public weak var hostLayer: Layer?