Internationalisation
Bundled Plugins API
ColorWell
UI ColorWell.

API Overview

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

API Documentation

Functions

matches

Signature
cp.ui.ColorWell.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

ColorWell

Signature
cp.ui.ColorWell(parent, uiFinder) -> Image
Type
Constructor
Description
Creates a new ColorWell instance.
Parameters
  • parent - The parent object.
  • uiFinder - A function which will return the hs._asm.axuielement when available.
Returns
  • A new ColorWell object.
Last modified 1mo ago