A reactive string container. Pass to .text() to get automatic re-renders when .set() is called from JavaScript.

Properties

value

string

The current string value

Methods

set(newValue)

Update the string value, triggering a re-render if bound to a UI element

Parameters

  • newValue string

    The new string

Returns

Nothing