Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TouchableWithoutFeedbackProperties

Indexable

[key: string]: any

key for others property.

Index

Properties

Optional accessibilityComponentType

accessibilityComponentType: "none" | "button" | "radiobutton_checked" | "radiobutton_unchecked"

Indicates to accessibility services to treat UI component like a native one. Works for Android only. Indicates to accessibility services to treat UI component like a native one. Works for Android only.

Optional accessibilityTraits

accessibilityTraits: "none" | "button" | "link" | "header" | "search" | "image" | "selected" | "plays" | "key" | "text" | "summary" | "disabled" | "frequentUpdates" | "startsMedia" | "adjustable" | "allowsDirectInteraction" | "pageTurn"

Provides additional traits to screen reader. By default no traits are provided unless specified otherwise in element. Provides additional traits to screen reader. By default no traits are provided unless specified otherwise in element.

Optional accessible

accessible: undefined | true | false

Optional delayLongPress

delayLongPress: undefined | number

Delay in ms, from onPressIn, before onLongPress is called. Delay in ms, from onPressIn, before onLongPress is called.

Optional delayPressIn

delayPressIn: undefined | number

Delay in ms, from the start of the touch, before onPressIn is called. Delay in ms, from the start of the touch, before onPressIn is called.

Optional delayPressOut

delayPressOut: undefined | number

Delay in ms, from the release of the touch, before onPressOut is called. Delay in ms, from the release of the touch, before onPressOut is called.

Optional disabled

disabled: undefined | true | false

If true, disable all interactions for this component. If true, disable all interactions for this component.

Optional hitSlop

hitSlop: undefined | object

This defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. NOTE The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views. This defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. NOTE The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.

Optional onLayout

onLayout: undefined | function

Invoked on mount and layout changes with Invoked on mount and layout changes with

Optional onLongPress

onLongPress: undefined | function

Optional onPress

onPress: undefined | function

Called when the touch is released, but not if cancelled (e.g. by a scroll that steals the responder lock). Called when the touch is released, but not if cancelled (e.g. by a scroll that steals the responder lock).

Optional onPressIn

onPressIn: undefined | function

Called as soon as the touchable element is pressed and invoked even before onPress. This can be useful when making network requests. Called as soon as the touchable element is pressed and invoked even before onPress. This can be useful when making network requests.

Optional onPressOut

onPressOut: undefined | function

Called as soon as the touch is released even before onPress. Called as soon as the touch is released even before onPress.

Optional pressRetentionOffset

pressRetentionOffset: undefined | object

When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button. Once deactivated, try moving it back and you'll see that the button is once again reactivated! Move it back and forth several times while the scroll view is disabled. Ensure you pass in a constant to reduce memory allocations. When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button. Once deactivated, try moving it back and you'll see that the button is once again reactivated! Move it back and forth several times while the scroll view is disabled. Ensure you pass in a constant to reduce memory allocations.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc