You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
This represents an hs._asm.axuielement with a AXDisclosureTriangle role.
It allows checking and modifying the opened status like so:
myButton:opened() ==true-- happens to be opened alreadymyButton:opened(false) ==false-- update to unopened.myButton.opened:toggle() ==true-- toggled back to being opened.
You can also call instances of DisclosureTriangle as a function, which will return
the opened status:
myButton() ==true-- still truemyButton(false) ==false-- now false
API Overview
Functions - API calls offered directly by the extension