| | |
| | Text to be used by screen readers
|
| AccessibilityTrait| AccessibilityTrait[]
| Traits used to hint screen readers, etc.
|
| | You can assign this property, and check instance.props.accessibilityId. For example accessibilityId is used, in View's FocusArbitrator callback
|
| | Opacity value the button should animate to on button touch
|
| | Id of an expandable element revealed by the button Describes a relation between button and element to screen reader
|
| | Specifies a unique id for an HTML element NOTE: This property may be going away in future versions
|
importantForAccessibility? | ImportantForAccessibility
| Expose the element and/or its children as accessible to Screen readers
|
| | Delay in ms before onLongPress is called
|
| | If disabled, touch and mouse input events are ignored
|
| | By default, opacity of a disabled element is 0.5 This value can be overridden with this property
|
disableTouchOpacityAnimation | | Disable default opacity animation on touch of buttons
|
| | Should be focused when the component is mounted, see also View's arbitrateFocus property WARNING: autoFocus=true means that this Button's requestFocus() method will be called, however calling requestFocus() might have no effect (for example the button is disabled), the application has to handle this either while setting this property or in the View's FocusArbitrator callback
|
| (e: SyntheticEvent)=> void
| Called when VoiceOver is on and the user double tapped to activate a control
|
| | |
| | |
| (e: SyntheticEvent) => void
| Called when the mouse cursor enters or leaves the view boundsOnHoverEnd
|
| (e: SyntheticEvent) => void
| Called when the mouse cursor enters or leaves the view bounds
|
| (e: KeyboardEvent) => void
| |
| (e: SyntheticEvent) => void
| Called when the user has pressed and held for a specified duration
|
| (e: SyntheticEvent) => void
| Called when the touch or mouse button is released within the bounds of the view and the press has not been canceled
|
| (e: SyntheticEvent) => void
| Called when touch is initiated or mouse button is pressed
|
| (e: SyntheticEvent) => void
| Called when touch or the mouse button is released or the user's finger or mouse cursor is no longer over the view
|
| | Rasterize contents using offscreen bitmap (perf optimization)
|
| ButtonStyleRuleSet | ButtonStyleRuleSet[]
| See below for supported styles
|
| | |
| | ID that can be used to identify the instantiated element for testing purposes.
|
| | |
| | Background color that will be visible on button touch
|