Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextNode

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_context

_context: any

_cssState

_cssState: any

_domId

_domId: number

_isAddedToNativeVisualTree

_isAddedToNativeVisualTree: boolean

Optional Private _moduleName

_moduleName: string

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

firstChild

firstChild: NgView

flexGrow

flexGrow: FlexGrow

flexShrink

flexShrink: FlexShrink

flexWrapBefore

flexWrapBefore: FlexWrapBefore

height

height: PercentLength

horizontalAlignment

horizontalAlignment: HorizontalAlignment

id

id: string

ios

ios: any

iosOverflowSafeArea

iosOverflowSafeArea: boolean

iosOverflowSafeAreaEnabled

iosOverflowSafeAreaEnabled: boolean

isCollapsed

isCollapsed: boolean

isEnabled

isEnabled: boolean

isLayoutValid

isLayoutValid: boolean

isLoaded

isLoaded: boolean

isUserInteractionEnabled

isUserInteractionEnabled: boolean

lastChild

lastChild: NgView

left

left: Length

margin

margin: string | PercentLength

marginBottom

marginBottom: PercentLength

marginLeft

marginLeft: PercentLength

marginRight

marginRight: PercentLength

marginTop

marginTop: PercentLength

meta

meta: object

Type declaration

  • skipAddToDom: boolean

minHeight

minHeight: Length

minWidth

minWidth: Length

modal

modal: View

nativeView

nativeView: any

nativeViewProtected

nativeViewProtected: any

nextSibling

nextSibling: NgView

ngCssClasses

ngCssClasses: Map<string, boolean>

nodeName

nodeName: string

nodeType

nodeType: number

opacity

opacity: number

order

order: Order

originX

originX: number

originY

originY: number

page

page: Page

parent

parent: ViewBase

parentNode

parentNode: NgView

perspective

perspective: number

rotate

rotate: number

rotateX

rotateX: number

rotateY

rotateY: number

row

row: number

rowSpan

rowSpan: number

scaleX

scaleX: number

scaleY

scaleY: number

style

style: Style

top

top: Length

translateX

translateX: dip

translateY

translateY: dip

typeName

typeName: string

verticalAlignment

verticalAlignment: VerticalAlignment

viewController

viewController: any

visibility

visibility: Visibility

width

width: PercentLength

Static Protected id

id: number

Static layoutChangedEvent

layoutChangedEvent: string

Static loadedEvent

loadedEvent: string

Static propertyChangeEvent

propertyChangeEvent: string

Static showingModallyEvent

showingModallyEvent: string

Static shownModallyEvent

shownModallyEvent: string

Static unloadedEvent

unloadedEvent: string

Methods

_addView

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

    • view: ViewBase
    • Optional atIndex: number

    Returns void

_addViewCore

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

    • view: ViewBase
    • Optional atIndex: number

    Returns void

_addViewToNativeVisualTree

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

    • view: ViewBase
    • Optional atIndex: number

    Returns boolean

_childIndexToNativeChildIndex

  • _childIndexToNativeChildIndex(index?: number): number
  • Parameters

    • Optional index: number

    Returns number

_closeAllModalViewsInternal

  • _closeAllModalViewsInternal(): boolean
  • Returns boolean

_dialogClosed

  • _dialogClosed(): void
  • Returns void

_eachLayoutView

  • _eachLayoutView(callback: function): void
  • Parameters

    • callback: function
        • (View: any): void
        • Parameters

          • View: any

          Returns void

    Returns void

_getNativeViewsCount

  • _getNativeViewsCount(): number
  • Returns number

_getRootModalViews

  • _getRootModalViews(): Array<ViewBase>
  • Returns Array<ViewBase>

_getValue

  • _getValue(property: any): never
  • Parameters

    • property: any

    Returns never

_goToVisualState

  • _goToVisualState(state: string): void
  • Parameters

    • state: string

    Returns void

Private _onCssStateChange

  • _onCssStateChange(): void
  • Returns void

_onRootViewReset

  • _onRootViewReset(): void
  • Returns void

_parentChanged

  • _parentChanged(oldParent: ViewBase): void
  • Parameters

    • oldParent: ViewBase

    Returns void

_removeView

  • _removeView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

_removeViewCore

  • _removeViewCore(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

_removeViewFromNativeVisualTree

  • _removeViewFromNativeVisualTree(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

_setValue

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

    • property: any
    • value: any

    Returns never

_setupUI

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

    • context: any
    • Optional atIndex: number

    Returns void

_tearDownUI

  • _tearDownUI(force?: boolean): void
  • Parameters

    • Optional force: boolean

    Returns void

Private addCss

  • addCss(cssString: string): void
  • Parameters

    • cssString: string

    Returns void

Private addCssFile

  • addCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

addEventListener

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

    • eventNames: string
    • callback: function
        • (data: EventData): void
        • Parameters

          • data: EventData

          Returns void

    • Optional thisArg: any

    Returns any

Protected addPseudoClass

  • addPseudoClass(name: string): void
  • Parameters

    • name: string

    Returns void

animate

  • animate(options: AnimationDefinition): AnimationPromise
  • Parameters

    • options: AnimationDefinition

    Returns AnimationPromise

bind

  • bind(options: BindingOptions, source?: Object): void
  • Parameters

    • options: BindingOptions
    • Optional source: Object

    Returns void

Private changeCssFile

  • changeCssFile(cssFileName: string): void
  • Parameters

    • cssFileName: string

    Returns void

closeModal

  • closeModal(context?: any): void
  • Parameters

    • Optional context: any

    Returns void

createAnimation

  • createAnimation(options: AnimationDefinition): Animation
  • Parameters

    • options: AnimationDefinition

    Returns Animation

createNativeView

  • createNativeView(): Object
  • Returns Object

Protected deletePseudoClass

  • deletePseudoClass(name: string): void
  • Parameters

    • name: string

    Returns void

disposeNativeView

  • disposeNativeView(): void
  • Returns void

eachChild

  • eachChild(callback: function): void
  • Parameters

    • callback: function
        • (child: ViewBase): boolean
        • Parameters

          • child: ViewBase

          Returns boolean

    Returns void

eachChildView

  • eachChildView(callback: function): void
  • Parameters

    • callback: function
        • (view: View): boolean
        • Parameters

          • view: View

          Returns boolean

    Returns void

ensureDomNode

  • ensureDomNode(): any
  • Returns any

focus

  • focus(): boolean
  • Returns boolean

get

  • get(name: string): any
  • Parameters

    • name: string

    Returns any

getActualSize

  • getActualSize(): Size
  • Returns Size

getGestureObservers

  • getGestureObservers(type: GestureTypes): Array<GesturesObserver>
  • Parameters

    • type: GestureTypes

    Returns Array<GesturesObserver>

getLocationInWindow

  • getLocationInWindow(): Point
  • Returns Point

getLocationOnScreen

  • getLocationOnScreen(): Point
  • Returns Point

getLocationRelativeTo

  • getLocationRelativeTo(otherView: View): Point
  • Parameters

    • otherView: View

    Returns Point

getMeasuredHeight

  • getMeasuredHeight(): number
  • Returns number

getMeasuredState

  • getMeasuredState(): number
  • Returns number

getMeasuredWidth

  • getMeasuredWidth(): number
  • Returns number

getSafeAreaInsets

  • getSafeAreaInsets(): object
  • Returns object

    • bottom: any
    • left: any
    • right: any
    • top: any

getViewById

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

    • T: ViewBase

    Parameters

    • id: string

    Returns T

hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

initNativeView

  • initNativeView(): void
  • Returns void

layout

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

    • left: number
    • top: number
    • right: number
    • bottom: number
    • Optional setFrame: boolean

    Returns void

layoutNativeView

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

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

loadView

  • loadView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

measure

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

    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns void

notify

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

    • T: EventData

    Parameters

    • data: T

    Returns void

notifyPropertyChange

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

    • propertyName: string
    • value: any
    • Optional oldValue: any

    Returns void

off

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

    • eventNames: string | GestureTypes
    • Optional callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

on

  • on(eventNames: string | GestureTypes, callback: function, thisArg?: any): any
  • on(event: "loaded", callback: function, thisArg?: any): any
  • on(event: "unloaded", callback: function, thisArg?: any): any
  • on(event: "androidBackPressed", callback: function, thisArg?: any): any
  • on(event: "showingModally", callback: function, thisArg?: any): void
  • on(event: "shownModally", callback: function, thisArg?: any): any
  • Parameters

    • eventNames: string | GestureTypes
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "loaded"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "unloaded"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "androidBackPressed"
    • callback: function
        • (args: EventData): void
        • Parameters

          • args: EventData

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    • event: "showingModally"
    • callback: function
        • (args: ShownModallyData): void
        • Parameters

          • args: ShownModallyData

          Returns void

    • Optional thisArg: any

    Returns void

  • Parameters

    • event: "shownModally"
    • callback: function
        • (args: ShownModallyData): void
        • Parameters

          • args: ShownModallyData

          Returns void

    • Optional thisArg: any

    Returns any

onBackPressed

  • onBackPressed(): boolean
  • Returns boolean

onLayout

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

    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

onLoaded

  • onLoaded(): void
  • Returns void

onMeasure

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

    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns void

onResumeNativeUpdates

  • onResumeNativeUpdates(): void
  • Returns void

onUnloaded

  • onUnloaded(): void
  • Returns void

once

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

    • event: string
    • callback: function
        • (data: EventData): void
        • Parameters

          • data: EventData

          Returns void

    • Optional thisArg: any

    Returns any

removeEventListener

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

    • eventNames: string
    • Optional callback: any
    • Optional thisArg: any

    Returns any

requestLayout

  • requestLayout(): void
  • Returns void

resetNativeView

  • resetNativeView(): void
  • Returns void

set

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

    • name: string
    • value: any

    Returns void

setInlineStyle

  • setInlineStyle(style: string): void
  • Parameters

    • style: string

    Returns void

setMeasuredDimension

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

    • measuredWidth: number
    • measuredHeight: number

    Returns void

setNativeView

  • setNativeView(view: any): void
  • Parameters

    • view: any

    Returns void

setProperty

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

    • name: string
    • value: any

    Returns void

showModal

  • showModal(moduleName: string, modalOptions: ShowModalOptions): ViewBase
  • showModal(view: ViewBase, modalOptions: ShowModalOptions): ViewBase
  • Parameters

    • moduleName: string
    • modalOptions: ShowModalOptions

    Returns ViewBase

  • Parameters

    • view: ViewBase
    • modalOptions: ShowModalOptions

    Returns ViewBase

toString

  • toString(): string

unbind

  • unbind(property: string): void
  • Parameters

    • property: string

    Returns void

unloadView

  • unloadView(view: ViewBase): void
  • Parameters

    • view: ViewBase

    Returns void

Static combineMeasuredStates

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

    • curState: number
    • newState: any

    Returns number

Static layoutChild

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

    • parent: View
    • child: View
    • left: number
    • top: number
    • right: number
    • bottom: number

    Returns void

Static measureChild

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

    • parent: View
    • child: View
    • widthMeasureSpec: number
    • heightMeasureSpec: number

    Returns object

    • measuredHeight: number
    • measuredWidth: number

Static resolveSizeAndState

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

    • size: number
    • specSize: number
    • specMode: number
    • childMeasuredState: number

    Returns 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