Group

Last updated 8 months ago

UI Group.

API Overview

  • Functions - API calls offered directly by the extension

  • Constructors - API calls which return an object, typically one that offers API methods

  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation

Functions

matches

Signature

cp.ui.Group.matches(element) -> boolean

Type

Function

Description

Checks to see if an element matches what we think it should be.

Parameters

Returns

Constructors

new

Signature

cp.ui.Group.new(parent, finderFn) -> Alert

Type

Constructor

Description

Creates a new Group instance.

Parameters

Returns

Methods

app

Signature

cp.ui.Group:app() -> App

Type

Method

Description

Returns the app instance.

Parameters

Returns

parent

Signature

cp.ui.Group:parent() -> parent

Type

Method

Description

Returns the parent object.

Parameters

Returns