πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
A class used to create a single part of formatted string with a common text properties.

Summary ​

Constructors

constructor

Properties

backgroundColor
color
fontFamily
fontSize
fontStyle
fontWeight
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
linkTapEvent
tappable
text
textDecoration
69 properties inherited from ViewBase
Click to expand
_automaticallyAdjustsScrollViewInsets
_context
_cssState
_defaultPaddingBottom
_defaultPaddingLeft
_defaultPaddingRight
_defaultPaddingTop
_domId
_ignoreFlexMinWidthHeightReset
_isAddedToNativeVisualTree
_isPaddingRelative
_isStyleScopeHost
_oldBottom
_oldLeft
_oldRight
_oldTop
_styleScope
_suspendNativeUpdatesCount
alignSelf
bindingContext
className
col
colSpan
column
columnSpan
createdEvent
cssClasses
cssPseudoClasses
disposeNativeViewEvent
dock
domNode
effectiveBorderBottomWidth
effectiveBorderLeftWidth
effectiveBorderRightWidth
effectiveBorderTopWidth
effectiveHeight
effectiveLeft
effectiveMarginBottom
effectiveMarginLeft
effectiveMarginRight
effectiveMarginTop
effectiveMinHeight
effectiveMinWidth
effectivePaddingBottom
effectivePaddingLeft
effectivePaddingRight
effectivePaddingTop
effectiveTop
effectiveWidth
flexGrow
flexShrink
flexWrapBefore
id
isCollapsed
left
loadedEvent
nativeViewProtected
order
parent
propertyChangeEvent
recycleNativeView
reusable
row
rowSpan
sharedTransitionIgnore
sharedTransitionTag
top
unloadedEvent
viewController

Constructors ​

constructor ​

new Span(): Span 

Properties ​

backgroundColor ​

backgroundColor: Color 
Gets or sets the font background color of the span.

color ​

color: Color 
Gets or sets the font foreground color of the span.

fontFamily ​

fontFamily: string
Gets or sets the font family of the span.

fontSize ​

fontSize: number
Gets or sets the font size of the span.

fontStyle ​

fontStyle: FontStyleType
Gets or sets the font style of the span.

fontWeight ​

fontWeight: FontWeightType
Gets or sets the font weight of the span.

iosAccessibilityAdjustsFontSize ​

iosAccessibilityAdjustsFontSize: boolean
Defines whether accessibility font scale should affect font size.

iosAccessibilityMaxFontScale ​

iosAccessibilityMaxFontScale: number
Gets or sets the maximum accessibility font scale.

iosAccessibilityMinFontScale ​

iosAccessibilityMinFontScale: number
Gets or sets the minimum accessibility font scale.

tappable ​

Readonly
tappable: boolean
Gets if the span is tappable or not.

text ​

text: string
Gets or sets the text for the span.

textDecoration ​

textDecoration: TextDecorationType 
Gets or sets text decorations for the span.

linkTapEvent ​

Static
linkTapEvent: string
String value used when hooking to linkTap event.
Previous
Slider

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