hammerspoon2-docs
    Preparing search index...

    Class HSString

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

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    value: string

    The current string value

    Methods

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

      Parameters

      • newValue: string

        The new string

      Returns void