Constructor
new DeviceForm(id, waitForEventsopt, timeoutopt)
- Description:
Instantiate a Form to be Rendered
- Source:
- See:
-
Verifone#renderForm
Render a form
Example
// Form with no input data
const form = new DeviceForm("FP_DISPLAY")
// Form with buttons, wait 15 seconds for event data
const form = new DeviceForm("FP_GEN_DISPLAY", true, 25)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
id |
string | ID of the Form |
||
waitForEvents |
bool |
<optional> |
false
|
If |
timeout |
number |
<optional> |
15
|
How long, in seconds, to wait for events from the form. |