Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Button

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _automaticallyAdjustsScrollViewInsets

_automaticallyAdjustsScrollViewInsets: boolean

_context

_context: any

_cssState

_cssState: any

Private _currentHeightMeasureSpec

_currentHeightMeasureSpec: number

Private _currentWidthMeasureSpec

_currentWidthMeasureSpec: number

Private _defaultPaddingBottom

_defaultPaddingBottom: number

Private _defaultPaddingLeft

_defaultPaddingLeft: number

Private _defaultPaddingRight

_defaultPaddingRight: number

Private _defaultPaddingTop

_defaultPaddingTop: number

_domId

_domId: number

Private _gestureObservers

_gestureObservers: any

Private _ignoreFlexMinWidthHeightReset

_ignoreFlexMinWidthHeightReset: boolean

_isAddedToNativeVisualTree

_isAddedToNativeVisualTree: boolean

Private _isPaddingRelative

_isPaddingRelative: boolean

Private _isSingleLine

_isSingleLine: boolean

Private _isStyleScopeHost

_isStyleScopeHost: boolean

Private _isViewBase

_isViewBase: boolean

Private _manager

_manager: any

Optional Private _modalParent

_modalParent: View

Optional Private _moduleName

_moduleName: string

Private _oldBottom

_oldBottom: number

Private _oldLeft

_oldLeft: number

Private _oldRight

_oldRight: number

Private _oldTop

_oldTop: number

_styleScope

_styleScope: any

_suspendNativeUpdatesCount

_suspendNativeUpdatesCount: number

Private _suspendedUpdates

_suspendedUpdates: object

Type declaration

alignSelf

alignSelf: AlignSelf

android

android: any

androidDynamicElevationOffset

androidDynamicElevationOffset: number

androidElevation

androidElevation: number

automationText

automationText: string

background

background: string

backgroundColor

backgroundColor: string | Color

backgroundImage

backgroundImage: string | LinearGradient

bindingContext

bindingContext: any

borderBottomColor

borderBottomColor: Color

borderBottomLeftRadius

borderBottomLeftRadius: Length

borderBottomRightRadius

borderBottomRightRadius: Length

borderBottomWidth

borderBottomWidth: Length

borderColor

borderColor: string | Color

borderLeftColor

borderLeftColor: Color

borderLeftWidth

borderLeftWidth: Length

borderRadius

borderRadius: string | Length

borderRightColor

borderRightColor: Color

borderRightWidth

borderRightWidth: Length

borderTopColor

borderTopColor: Color

borderTopLeftRadius

borderTopLeftRadius: Length

borderTopRightRadius

borderTopRightRadius: Length

borderTopWidth

borderTopWidth: Length

borderWidth

borderWidth: string | Length

className

className: string

col

col: number

colSpan

colSpan: number

color

color: Color

column

column: number

columnSpan

columnSpan: number

Private css

css: string

cssClasses

cssClasses: Set<string>

cssPseudoClasses

cssPseudoClasses: Set<string>

cssType

cssType: string

dock

dock: "left" | "top" | "right" | "bottom"

domNode

domNode: DOMNode

effectiveBorderBottomWidth

effectiveBorderBottomWidth: number

effectiveBorderLeftWidth

effectiveBorderLeftWidth: number

effectiveBorderRightWidth

effectiveBorderRightWidth: number

effectiveBorderTopWidth

effectiveBorderTopWidth: number

effectiveHeight

effectiveHeight: number

effectiveLeft

effectiveLeft: number

effectiveMarginBottom

effectiveMarginBottom: number

effectiveMarginLeft

effectiveMarginLeft: number

effectiveMarginRight

effectiveMarginRight: number

effectiveMarginTop

effectiveMarginTop: number

effectiveMinHeight

effectiveMinHeight: number

effectiveMinWidth

effectiveMinWidth: number

effectivePaddingBottom

effectivePaddingBottom: number

effectivePaddingLeft

effectivePaddingLeft: number

effectivePaddingRight

effectivePaddingRight: number

effectivePaddingTop

effectivePaddingTop: number

effectiveTop

effectiveTop: number

effectiveWidth

effectiveWidth: number

flexGrow

flexGrow: FlexGrow

flexShrink

flexShrink: FlexShrink

flexWrapBefore

flexWrapBefore: FlexWrapBefore

fontSize

fontSize: number

formattedText

formattedText: FormattedString

height

height: PercentLength

horizontalAlignment

horizontalAlignment: HorizontalAlignment

id

id: string

ios

ios: any

iosOverflowSafeArea

iosOverflowSafeArea: boolean

iosOverflowSafeAreaEnabled

iosOverflowSafeAreaEnabled: boolean

isCollapsed

isCollapsed: boolean

isEnabled

isEnabled: boolean

Private isLayoutRequired

isLayoutRequired: boolean

isLayoutValid

isLayoutValid: boolean

isLoaded

isLoaded: boolean

isUserInteractionEnabled

isUserInteractionEnabled: boolean

left

left: Length

letterSpacing

letterSpacing: number

lineHeight

lineHeight: number

margin

margin: string | PercentLength

marginBottom

marginBottom: PercentLength

marginLeft

marginLeft: PercentLength

marginRight

marginRight: PercentLength

marginTop

marginTop: PercentLength

minHeight

minHeight: Length

minWidth

minWidth: Length

modal

modal: View

nativeTextViewProtected

nativeTextViewProtected: any

nativeView

nativeView: any

nativeViewProtected

nativeViewProtected: any

opacity

opacity: number

order

order: Order

originX

originX: number

originY

originY: number

padding

padding: string | Length

paddingBottom

paddingBottom: Length

paddingLeft

paddingLeft: Length

paddingRight

paddingRight: Length

paddingTop

paddingTop: Length

page

page: Page

parent

parent: ViewBase

parentNode

parentNode: ViewBase

perspective

perspective: number

Private recycleNativeView

recycleNativeView: "always" | "never" | "auto"

rotate

rotate: number

rotateX

rotateX: number

rotateY

rotateY: number

row

row: number

rowSpan

rowSpan: number

scaleX

scaleX: number

scaleY

scaleY: number

style

style: Style

text

text: string

textAlignment

textAlignment: TextAlignment

textDecoration

textDecoration: TextDecoration

textTransform

textTransform: TextTransform

textWrap

textWrap: boolean

top

top: Length

translateX

translateX: dip

translateY

translateY: dip

typeName

typeName: string

verticalAlignment

verticalAlignment: VerticalAlignment

viewController

viewController: any

visibility

visibility: Visibility

whiteSpace

whiteSpace: WhiteSpace

width

width: PercentLength

Static layoutChangedEvent

layoutChangedEvent: string

Static loadedEvent

loadedEvent: string

Static propertyChangeEvent

propertyChangeEvent: string

Static showingModallyEvent

showingModallyEvent: string

Static shownModallyEvent

shownModallyEvent: string

Static tapEvent

tapEvent: string

Static unloadedEvent

unloadedEvent: string

Methods

Private _addChildFromBuilder

  • _addChildFromBuilder(name: string, value: any): void

_addView

  • _addView(view: ViewBase, atIndex?: number): void

_addViewCore

  • _addViewCore(view: ViewBase, atIndex?: number): void

_addViewToNativeVisualTree

  • _addViewToNativeVisualTree(view: ViewBase, atIndex?: number): boolean

_batchUpdate

  • _batchUpdate<T>(callback: function): T

_childIndexToNativeChildIndex

  • _childIndexToNativeChildIndex(index?: number): number

_closeAllModalViewsInternal

  • _closeAllModalViewsInternal(): boolean

Private _createPropertyChangeData

_dialogClosed

  • _dialogClosed(): void

_eachLayoutView

  • _eachLayoutView(callback: function): void

Private _emit

  • _emit(eventNames: string): any

Private _getCurrentLayoutBounds

  • _getCurrentLayoutBounds(): object

Private _getFragmentManager

  • _getFragmentManager(): any

_getNativeViewsCount

  • _getNativeViewsCount(): number

_getRootModalViews

_getValue

  • _getValue(property: any): never

Private _goToVisualState

  • _goToVisualState(state: string): any

_handleLivesync

  • _handleLivesync(context?: object): boolean

_hasAncestorView

  • _hasAncestorView(ancestorView: View): boolean

Private _inheritStyleScope

  • _inheritStyleScope(styleScope: any): void

Private _layoutParent

  • _layoutParent(): void

_onAttachedToWindow

  • _onAttachedToWindow(): void

Private _onCssStateChange

  • _onCssStateChange(): void

_onDetachedFromWindow

  • _onDetachedFromWindow(): void

Private _onLivesync

  • _onLivesync(context?: object): boolean

_onRootViewReset

  • _onRootViewReset(): void

_parentChanged

  • _parentChanged(oldParent: ViewBase): void

Private _redrawNativeBackground

  • _redrawNativeBackground(value: any): void

Private _removeAnimation

  • _removeAnimation(animation: Animation): boolean

_removeView

_removeViewCore

_removeViewFromNativeVisualTree

  • _removeViewFromNativeVisualTree(view: ViewBase): void

Private _requestLayoutOnTextChanged

  • _requestLayoutOnTextChanged(): void

Private _setCurrentLayoutBounds

  • _setCurrentLayoutBounds(left: number, top: number, right: number, bottom: number): object

Private _setCurrentMeasureSpecs

  • _setCurrentMeasureSpecs(widthMeasureSpec: number, heightMeasureSpec: number): boolean

Private _setMinHeightNative

  • _setMinHeightNative(value: Length): void

Private _setMinWidthNative

  • _setMinWidthNative(value: Length): void

Private _setNativeClipToBounds

  • _setNativeClipToBounds(): void

Private _setNativeText

  • _setNativeText(reset?: boolean): void

Private _setNativeViewFrame

  • _setNativeViewFrame(nativeView: any, frame: any): void

_setValue

  • _setValue(property: any, value: any): never

Private _setupAsRootView

  • _setupAsRootView(context: any): void

_setupUI

  • _setupUI(context: any, atIndex?: number): void

_shouldDelayLayout

  • _shouldDelayLayout(): boolean

_tearDownUI

  • _tearDownUI(force?: boolean): void

Private _updateEffectiveLayoutValues

  • _updateEffectiveLayoutValues(parentWidthMeasureSize: number, parentWidthMeasureMode: number, parentHeightMeasureSize: number, parentHeightMeasureMode: number): void

_updateStyleScope

  • _updateStyleScope(cssFileName?: string, cssString?: string, css?: string): void

Private addCss

  • addCss(cssString: string): void

Private addCssFile

  • addCssFile(cssFileName: string): void

addEventListener

  • addEventListener(eventNames: string, callback: function, thisArg?: any): any

Protected addPseudoClass

  • addPseudoClass(name: string): void

animate

bind

Private callLoaded

  • callLoaded(): void

Private callUnloaded

  • callUnloaded(): void

Private changeCssFile

  • changeCssFile(cssFileName: string): void

closeModal

  • closeModal(context?: any): void

createAnimation

createNativeView

  • createNativeView(): Object

Protected deletePseudoClass

  • deletePseudoClass(name: string): void

disposeNativeView

  • disposeNativeView(): void

eachChild

  • eachChild(callback: function): void

eachChildView

  • eachChildView(callback: function): void

ensureDomNode

  • ensureDomNode(): any

focus

  • focus(): boolean

get

  • get(name: string): any

getActualSize

  • getActualSize(): Size

getGestureObservers

getLocationInWindow

  • getLocationInWindow(): Point

getLocationOnScreen

  • getLocationOnScreen(): Point

getLocationRelativeTo

  • getLocationRelativeTo(otherView: View): Point

getMeasuredHeight

  • getMeasuredHeight(): number

getMeasuredState

  • getMeasuredState(): number

getMeasuredWidth

  • getMeasuredWidth(): number

getSafeAreaInsets

  • getSafeAreaInsets(): object

getViewById

  • getViewById<T>(id: string): T

hasListeners

  • hasListeners(eventName: string): boolean

initNativeView

  • initNativeView(): void

layout

  • layout(left: number, top: number, right: number, bottom: number, setFrame?: boolean): void

layoutNativeView

  • layoutNativeView(left: number, top: number, right: number, bottom: number): void

loadView

measure

  • measure(widthMeasureSpec: number, heightMeasureSpec: number): void

notify

  • notify<T>(data: T): void

notifyPropertyChange

  • notifyPropertyChange(propertyName: string, value: any, oldValue?: any): void

off

  • off(eventNames: string | GestureTypes, callback?: function, thisArg?: any): any

on

  • on(eventNames: string, callback: function, thisArg?: any): any
  • on(event: "tap", callback: function, thisArg?: any): any

onBackPressed

  • onBackPressed(): boolean

onLayout

  • onLayout(left: number, top: number, right: number, bottom: number): void

onLoaded

  • onLoaded(): void

onMeasure

  • onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void

onResumeNativeUpdates

  • onResumeNativeUpdates(): void

onUnloaded

  • onUnloaded(): void

once

  • once(event: string, callback: function, thisArg?: any): any

removeEventListener

  • removeEventListener(eventNames: string, callback?: any, thisArg?: any): any

requestLayout

  • requestLayout(): void

resetNativeView

  • resetNativeView(): void

set

  • set(name: string, value: any): void

setInlineStyle

  • setInlineStyle(style: string): void

setMeasuredDimension

  • setMeasuredDimension(measuredWidth: number, measuredHeight: number): void

setNativeView

  • setNativeView(view: any): void

setProperty

  • setProperty(name: string, value: any): void

showModal

unbind

  • unbind(property: string): void

unloadView

Static combineMeasuredStates

  • combineMeasuredStates(curState: number, newState: any): number

Static layoutChild

  • layoutChild(parent: View, child: View, left: number, top: number, right: number, bottom: number): void

Static measureChild

  • measureChild(parent: View, child: View, widthMeasureSpec: number, heightMeasureSpec: number): object

Static resolveSizeAndState

  • resolveSizeAndState(size: number, specSize: number, specMode: number, childMeasuredState: number): number

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