docs » cp.web.generate
Functions for Generating HTML UI Items
- Functions - API calls offered directly by the extension
- button
- checkbox
- dropdown
- heading
- javascript
- setWebviewLabel
- text
| Signature | cp.web.generate.button() -> string |
|---|---|
| Type | Function |
| Description | Generates a HTML Button |
| Parameters |
|
| Returns |
|
| 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 |
|
| 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 |
|
| Signature | cp.web.generate.text() -> string |
|---|---|
| Type | Function |
| Description | Generates a blank HTML |
| Parameters |
|
| Returns |
|