generate

Last updated 8 months ago

Functions for Generating HTML UI Items

API Overview

API Documentation

Functions

button

Signature

cp.web.generate.button() -> string

Type

Function

Description

Generates a HTML Button

Parameters

Returns

checkbox

Signature

cp.web.generate.checkbox() -> string

Type

Function

Description

Generates a HTML Checkbox

Parameters

Returns

Signature

cp.web.generate.dropdown() -> string

Type

Function

Description

Generates a HTML Dropdown

Parameters

Returns

heading

Signature

cp.web.generate.heading() -> string

Type

Function

Description

Generates a HTML Heading

Parameters

Returns

Signature

cp.web.generate.javascript(script, context) -> cp.web.html

Type

Function

Description

Generates a HTML Heading

Parameters

Returns

Signature

cp.web.generate.setWebviewLabel() -> none

Type

Function

Description

Sets the WebView Label

Parameters

Returns

text

Signature

cp.web.generate.text() -> string

Type

Function

Description

Generates a blank HTML

Parameters

Returns