hammerspoon2-docs
    Preparing search index...

    Function string

    • Create a reactive string for binding text element content to a dynamic value An HSString is a reactive value container. When passed to .text(), the canvas automatically re-renders whenever .set() is called from JavaScript.

      Parameters

      • initialValue: string

        The starting string value

      Returns HSString

      An HSString object whose value can be updated with .set()