Constructor
new ControlProperty(id, name, value)
- Description:
Instantiate a Control Property
- Source:
- See:
-
Verifone#renderForm
Render a form and update control properties
Example
// A property to make a control hidden
const prop = new ControlProperty(1, "visible", false)
// A property to change the text of a control
const prop = new ControlProperty(1, "caption", "Cancel Operation")
// A property to change the background color of a control
const prop = new ControlProperty(1, "bg_color", "#EB9534")
Parameters:
Name | Type | Description |
---|---|---|
id |
number | ID of the Control on the Form |
name |
string | Name of the property to update |
value |
number | string | boolean | property value |