Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextComponentStateRefMut

The state object describes the information to visualize for this component.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

ptr

ptr: number

Methods

center

  • center(): string
  • Accesses the centered text. If the text isn't centered, an empty string is returned instead.

    Returns string

isSplit

  • isSplit(): boolean
  • Returns whether the text is split up into a left and right part.

    Returns boolean

left

  • left(): string
  • Accesses the left part of the text. If the text isn't split up, an empty string is returned instead.

    Returns string

right

  • right(): string
  • Accesses the right part of the text. If the text isn't split up, an empty string is returned instead.

    Returns string

Generated using TypeDoc