#cp.ui.DisclosureTriangle
Disclosure Triangle UI Module.
This represents an hs.axuielement
with a AXDisclosureTriangle
role. It allows checking and modifying the opened
status like so:
You can also call instances of DisclosureTriangle
as a function, which will return the opened
status:
#API Overview
Functions - API calls offered directly by the extension
Constructors - API calls which return an object, typically one that offers API methods
Fields - Variables which can only be accessed from an object returned by a constructor
Methods - API calls which can only be made on an object returned by a constructor