@nativescript-community/text
    Preparing search index...

    Class LightFormattedString

    Hierarchy

    • Observable
      • LightFormattedString
    Index

    Constructors

    Properties

    backgroundColor: Color
    color: Color
    fontFamily: string
    fontSize: number
    fontStyle: FontStyleType
    fontVariationSettings: FontVariationSettingsType[]
    fontWeight: FontWeightType
    parent: View
    textAlignment: TextAlignmentType
    textDecoration: TextDecorationType
    verticalTextAlignment: VerticalAlignmentTextType

    Accessors

    • get spans(): ObservableArray<Span>

      Returns ObservableArray<Span>

    • set spans(value: ObservableArray<Span>): void

      Parameters

      • value: ObservableArray<Span>

      Returns void

    • get style(): this

      Returns this

    • get isFormattedString(): boolean

      Returns boolean

    Methods

    • Parameters

      • name: string
      • value: any[]

      Returns void

    • Parameters

      • name: string
      • value: any

      Returns void

    • Returns void

    • Returns a string representation of an object.

      Returns string