Check Box UI Module.
This represents an
AXCheckBoxrole. It allows checking and modifying the
checkedstatus like so:
myButton:checked() == true -- happens to be checked already
myButton:checked(false) == false -- update to unchecked.
myButton.checked:toggle() == true -- toggled back to being checked.
You can also call instances of
CheckBoxas a function, which will return the
myButton() == true -- still true
myButton(false) == false -- now false
- 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