Skip to main content

text

Callable

  • text(text: string): Text

  • Creates a new Text node with the provided text.


    Parameters

    • text: string

      The text to create the Text node with.

    Returns Text

    A new Text node with the provided text.