Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FormattedString

Hierarchy

Implements

Implemented by

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

_automaticallyAdjustsScrollViewInsets

_automaticallyAdjustsScrollViewInsets: boolean

_context

_context: any

_cssState

_cssState: CssState

_defaultPaddingBottom

_defaultPaddingBottom: number

_defaultPaddingLeft

_defaultPaddingLeft: number

_defaultPaddingRight

_defaultPaddingRight: number

_defaultPaddingTop

_defaultPaddingTop: number

_domId

_domId: number

_ignoreFlexMinWidthHeightReset

_ignoreFlexMinWidthHeightReset: boolean

_isAddedToNativeVisualTree

_isAddedToNativeVisualTree: boolean

_isPaddingRelative

_isPaddingRelative: boolean

_isStyleScopeHost

_isStyleScopeHost: boolean

_isViewBase

_isViewBase: boolean

_moduleName

_moduleName: string

_oldBottom

_oldBottom: number

_oldLeft

_oldLeft: number

_oldRight

_oldRight: number

_oldTop

_oldTop: number

Private _spans

_styleScope

_styleScope: StyleScope

_suspendNativeUpdatesCount

_suspendNativeUpdatesCount: number

_suspendedUpdates

_suspendedUpdates: object

Type declaration

alignSelf

alignSelf: AlignSelf

bindingContext

bindingContext: any

className

className: string

col

col: number

colSpan

colSpan: number

column

column: number

columnSpan

columnSpan: number

cssClasses

cssClasses: Set<string>

cssPseudoClasses

cssPseudoClasses: Set<string>

dock

dock: "left" | "right" | "top" | "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: number

flexShrink

flexShrink: number

flexWrapBefore

flexWrapBefore: boolean

id

id: string

isCollapsed

isCollapsed: any

left

left: Length

nativeViewProtected

nativeViewProtected: any

order

order: number

parent

parent: ViewBase

recycleNativeView

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

row

row: number

rowSpan

rowSpan: number

top

top: Length

viewController

viewController: any

Static createdEvent

createdEvent: string

Static loadedEvent

loadedEvent: string

Static propertyChangeEvent

propertyChangeEvent: string

Static unloadedEvent

unloadedEvent: string

Accessors

android

  • get (): any

backgroundColor

class

  • get (): string
  • set (v: string): void

color

fontFamily

  • get (): string
  • set (value: string): void

fontSize

  • get (): number
  • set (value: number): void

fontStyle

  • get (): FontStyle
  • set (value: FontStyle): void

fontWeight

  • get (): FontWeight
  • set (value: FontWeight): void

ios

  • get (): any

isLoaded

  • get (): boolean

nativeView

  • get (): any
  • set (value: any): void

page

parentNode

spans

style

textDecoration

  • get (): TextDecoration
  • set (value: TextDecoration): void

typeName

  • get (): string

Methods

_addArrayFromBuilder

  • _addArrayFromBuilder(name: string, value: any[]): void

_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

_applyXmlAttribute

  • _applyXmlAttribute(attribute: string, value: string): boolean
  • deprecated

    This used to be the way to set attribute values in early {N} versions. Now attributes are expected to be set as plain properties on the view instances.

    Parameters

    • attribute: string
    • value: string

    Returns boolean

_batchUpdate

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

_childIndexToNativeChildIndex

  • _childIndexToNativeChildIndex(index?: number): number

_createPropertyChangeData

  • _createPropertyChangeData(propertyName: string, value: any, oldValue?: any): PropertyChangeData

_dialogClosed

  • _dialogClosed(): void

_emit

  • _emit(eventNames: string): void

_goToVisualState

  • _goToVisualState(state: string): void

_inheritStyleScope

  • _inheritStyleScope(styleScope: StyleScope): void

_layoutParent

  • _layoutParent(): void

_onCssStateChange

  • _onCssStateChange(): void

_onRootViewReset

  • _onRootViewReset(): void

_parentChanged

  • _parentChanged(oldParent: ViewBase): void

_removeView

  • Core logic for removing a child view from this instance. Used by the framework to handle lifecycle events more centralized. Do not use outside the UI Stack implementation.

    Parameters

    Returns void

_removeViewCore

_removeViewFromNativeVisualTree

  • _removeViewFromNativeVisualTree(view: ViewBase): void

_resumeNativeUpdates

  • _resumeNativeUpdates(type: SuspendType): void

_setupAsRootView

  • _setupAsRootView(context: any): void

_setupUI

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

_shouldDelayLayout

  • _shouldDelayLayout(): boolean

_suspendNativeUpdates

  • _suspendNativeUpdates(type: SuspendType): void

_tearDownUI

  • _tearDownUI(force?: boolean): void

addEventListener

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

Private addPropertyChangeHandler

  • addPropertyChangeHandler(span: Span): void

addPseudoClass

  • addPseudoClass(name: string): void

bind

callLoaded

  • callLoaded(): void

callUnloaded

  • callUnloaded(): void

closeModal

  • closeModal(...args: any[]): void

createNativeView

  • createNativeView(): Object

deletePseudoClass

  • deletePseudoClass(name: string): void

disposeNativeView

  • disposeNativeView(): void

eachChild

  • eachChild(callback: function): void

ensureDomNode

  • ensureDomNode(): void

get

  • get(name: string): any

getViewById

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

hasListeners

  • hasListeners(eventName: string): boolean

initNativeView

  • initNativeView(): void

loadView

notify

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

notifyPropertyChange

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

off

  • off(eventNames: string, callback?: any, thisArg?: any): void

on

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

onLoaded

  • onLoaded(): void

Private onPropertyChange

onResumeNativeUpdates

  • onResumeNativeUpdates(): void

Private onSpansCollectionChanged

onUnloaded

  • onUnloaded(): void

once

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

removeEventListener

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

Private removePropertyChangeHandler

  • removePropertyChangeHandler(span: Span): void

requestLayout

  • requestLayout(): void

resetNativeView

  • resetNativeView(): void

set

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

setInlineStyle

  • setInlineStyle(style: string): void

setNativeView

  • setNativeView(value: any): void

setProperty

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

showModal

toString

  • toString(): string

unbind

  • unbind(property: string): void

unloadView

Static addEventListener

  • addEventListener(eventName: string, callback: any, thisArg?: any): void

Static off

  • off(eventName: string, callback?: any, thisArg?: any): void

Static on

  • on(eventName: string, callback: any, thisArg?: any): void

Static once

  • once(eventName: string, callback: any, thisArg?: any): void

Static removeEventListener

  • removeEventListener(eventName: string, callback?: any, thisArg?: any): void

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