docs » cp.ui.List
Represents an AXList axuielement value.
Extends Element.
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- List
- Methods - API calls which can only be made on an object returned by a constructor
- items
| Signature | cp.ui.List.matches(element) |
|---|---|
| Type | Function |
| Description | Checks if the provided axuielement is an AXList. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.List(parent, uiFinder, itemAdaptorFn) |
|---|---|
| Type | Constructor |
| Description | Creates a new List. |
| Parameters |
|
| Returns |
|
| Signature | cp.ui.List:items() -> table of values |
|---|---|
| Type | Method |
| Description | Returns the children as items, as adapted by the itemAdaptor in the constructor |