πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement

Summary ​

Constructors

constructor

Properties

accessibilityHidden
accessibilityLanguage
accessibilityLiveRegion
accessibilityMediaSession
accessibilityRole
accessibilityState
accessibilityStep
accessible
alignContent
alignItems
alignSelf
androidContentInset
androidContentInsetLeft
androidContentInsetRight
androidDynamicElevationOffset
androidElevation
androidSelectedTabHighlightColor
androidStatusBarBackground
background
backgroundColor
backgroundImage
backgroundInternal
backgroundPosition
backgroundRepeat
backgroundSize
borderBottomColor
borderBottomLeftRadius
borderBottomRightRadius
borderBottomWidth
borderColor
borderLeftColor
borderLeftWidth
borderRadius
borderRightColor
borderRightWidth
borderTopColor
borderTopLeftRadius
borderTopRightRadius
borderTopWidth
borderWidth
boxShadow
clipPath
color
flexDirection
flexGrow
flexShrink
flexWrap
flexWrapBefore
font
fontFamily
fontInternal
fontScaleInternal
fontSize
fontStyle
fontWeight
height
horizontalAlignment
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
justifyContent
letterSpacing
lineHeight
margin
marginBottom
marginLeft
marginRight
marginTop
maxLines
minHeight
minWidth
opacity
order
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
perspective
placeholderColor
PropertyBag
rotate
rotateX
rotateY
scaleX
scaleY
selectedBackgroundColor
selectedTabTextColor
separatorColor
statusBarStyle
tabBackgroundColor
tabTextColor
tabTextFontSize
textAlignment
textDecoration
textShadow
textTransform
tintColor
translateX
translateY
verticalAlignment
viewRef
visibility
whiteSpace
width
zIndex
1 properties inherited from Observable
Click to expand
propertyChangeEvent

Accessors

view

Constructors ​

constructor ​

new Style(ownerView: ViewBase | WeakRef<ViewBase>): Style 
Parameter Default Description
ownerView
ViewBase | WeakRef<ViewBase>
Returns Style

Properties ​

PropertyBag ​

PropertyBag: {
prototype: {}
}

accessibilityHidden ​

accessibilityHidden: boolean

accessibilityLanguage ​

accessibilityLanguage: string

accessibilityLiveRegion ​

accessibilityMediaSession ​

accessibilityMediaSession: boolean

accessibilityRole ​

accessibilityState ​

accessibilityStep ​

accessibilityStep: number

accessible ​

alignContent ​

alignContent: AlignContent

alignItems ​

alignItems: AlignItems

alignSelf ​

androidContentInset ​

androidContentInset: string | number | LengthDipUnit | LengthPxUnit 

androidContentInsetLeft ​

androidContentInsetRight ​

androidDynamicElevationOffset ​

androidDynamicElevationOffset: number

androidElevation ​

androidElevation: number

androidSelectedTabHighlightColor ​

androidSelectedTabHighlightColor: Color 

androidStatusBarBackground ​

androidStatusBarBackground: Color 

background ​

backgroundColor ​

backgroundImage ​

backgroundImage: string | LinearGradient

backgroundInternal ​

backgroundPosition ​

backgroundPosition: string

backgroundSize ​

backgroundSize: string

borderBottomColor ​

borderBottomLeftRadius ​

borderBottomRightRadius ​

borderBottomWidth ​

borderColor ​

borderLeftColor ​

borderLeftWidth ​

borderRadius ​

borderRightColor ​

borderRightWidth ​

borderTopColor ​

borderTopLeftRadius ​

borderTopRightRadius ​

borderTopWidth ​

borderWidth ​

boxShadow ​

boxShadow: CSSShadow

clipPath ​

flexDirection ​

flexDirection: FlexDirection

flexGrow ​

flexShrink ​

flexWrap ​

flexWrapBefore ​

flexWrapBefore: boolean

fontFamily ​

fontInternal ​

fontScaleInternal ​

fontScaleInternal: number
This property ensures inheritance of a11y scale among views.

fontSize ​

fontStyle ​

fontStyle: FontStyleType

fontWeight ​

fontWeight: FontWeightType

horizontalAlignment ​

iosAccessibilityAdjustsFontSize ​

iosAccessibilityAdjustsFontSize: boolean

iosAccessibilityMaxFontScale ​

iosAccessibilityMaxFontScale: number

iosAccessibilityMinFontScale ​

iosAccessibilityMinFontScale: number

justifyContent ​

justifyContent: JustifyContent

letterSpacing ​

letterSpacing: number

lineHeight ​

maxLines ​

perspective ​

placeholderColor ​

selectedBackgroundColor ​

selectedBackgroundColor: Color 

selectedTabTextColor ​

separatorColor ​

statusBarStyle ​

statusBarStyle: "dark"|"light"

tabBackgroundColor ​

tabTextFontSize ​

tabTextFontSize: number

textShadow ​

textShadow: CSSShadow

translateX ​

translateY ​

Accessors ​

Methods ​

getCssVariable ​

getCssVariable(varName: string): string
Parameter Default Description
varName
string
Returns string

removeScopedCssVariable ​

removeScopedCssVariable(varName: string): void
Parameter Default Description
varName
string
Returns void

removeUnscopedCssVariable ​

removeUnscopedCssVariable(varName: string): void
Parameter Default Description
varName
string
Returns void

resetScopedCssVariables ​

resetScopedCssVariables(): void

resetUnscopedCssVariables ​

resetUnscopedCssVariables(): void

setScopedCssVariable ​

setScopedCssVariable(varName: string, value: string): void
Parameter Default Description
varName
string
value
string
Returns void

setUnscopedCssVariable ​

setUnscopedCssVariable(varName: string, value: string): void
Parameter Default Description
varName
string
value
string
Returns void

toString ​

toString(): string
On this page
  1. Summary
  2. Constructors
    1. constructor
  3. Properties
    1. PropertyBag
    2. accessibilityHidden
    3. accessibilityLanguage
    4. accessibilityLiveRegion
    5. accessibilityMediaSession
    6. accessibilityRole
    7. accessibilityState
    8. accessibilityStep
    9. accessible
    10. alignContent
    11. alignItems
    12. alignSelf
    13. androidContentInset
    14. androidContentInsetLeft
    15. androidContentInsetRight
    16. androidDynamicElevationOffset
    17. androidElevation
    18. androidSelectedTabHighlightColor
    19. androidStatusBarBackground
    20. background
    21. backgroundColor
    22. backgroundImage
    23. backgroundInternal
    24. backgroundPosition
    25. backgroundRepeat
    26. backgroundSize
    27. borderBottomColor
    28. borderBottomLeftRadius
    29. borderBottomRightRadius
    30. borderBottomWidth
    31. borderColor
    32. borderLeftColor
    33. borderLeftWidth
    34. borderRadius
    35. borderRightColor
    36. borderRightWidth
    37. borderTopColor
    38. borderTopLeftRadius
    39. borderTopRightRadius
    40. borderTopWidth
    41. borderWidth
    42. boxShadow
    43. clipPath
    44. color
    45. flexDirection
    46. flexGrow
    47. flexShrink
    48. flexWrap
    49. flexWrapBefore
    50. font
    51. fontFamily
    52. fontInternal
    53. fontScaleInternal
    54. fontSize
    55. fontStyle
    56. fontWeight
    57. height
    58. horizontalAlignment
    59. iosAccessibilityAdjustsFontSize
    60. iosAccessibilityMaxFontScale
    61. iosAccessibilityMinFontScale
    62. justifyContent
    63. letterSpacing
    64. lineHeight
    65. margin
    66. marginBottom
    67. marginLeft
    68. marginRight
    69. marginTop
    70. maxLines
    71. minHeight
    72. minWidth
    73. opacity
    74. order
    75. padding
    76. paddingBottom
    77. paddingLeft
    78. paddingRight
    79. paddingTop
    80. perspective
    81. placeholderColor
    82. rotate
    83. rotateX
    84. rotateY
    85. scaleX
    86. scaleY
    87. selectedBackgroundColor
    88. selectedTabTextColor
    89. separatorColor
    90. statusBarStyle
    91. tabBackgroundColor
    92. tabTextColor
    93. tabTextFontSize
    94. textAlignment
    95. textDecoration
    96. textShadow
    97. textTransform
    98. tintColor
    99. translateX
    100. translateY
    101. verticalAlignment
    102. viewRef
    103. visibility
    104. whiteSpace
    105. width
    106. zIndex
  4. Accessors
    1. view
  5. Methods
    1. getCssVariable
    2. removeScopedCssVariable
    3. removeUnscopedCssVariable
    4. resetScopedCssVariables
    5. resetUnscopedCssVariables
    6. setScopedCssVariable
    7. setUnscopedCssVariable
    8. toString

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /