hammerspoon2-docs
    Preparing search index...

    Function off

    • Remove a previously registered listener for AX events on a specific element

      Parameters

      • element: HSAXElement

        The HSAXElement that was passed to on

      • notification: string | string[]

        The event name, or array of event names, to stop watching

      • listener: (...args: any[]) => any

        The function/lambda provided when adding the watcher

      Returns void