Internationalisation
Bundled Plugins API
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

API Documentation

Functions

matches

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.
Last modified 1mo ago