Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 2.07 KB

cp.ui.SplitGroup.md

File metadata and controls

33 lines (25 loc) · 2.07 KB

docs » cp.ui.SplitGroup


Split Group UI.

API Overview

  • Functions - API calls offered directly by the extension
  • matches
  • Constructors - API calls which return an object, typically one that offers API methods
  • SplitGroup

API Documentation

Functions

Signature cp.ui.SplitGroup.matches(element) -> boolean
Type Function
Description Checks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false

Constructors

Signature cp.ui.SplitGroup(parent, uiFinder) -> cp.ui.SplitGroup
Type Constructor
Description Creates a new Split Group.
Parameters
  • parent - The parent object.
  • uiFinder - The function or cp.prop which returns an hs._asm.axuielement for the Split Group, or nil.
Returns
  • A new SplitGroup instance.