DeviceForm

DeviceForm

Form to be rendered on a tablet device.

Constructor

new DeviceForm(id, waitForEventsopt, timeoutopt)

Description:
  • Instantiate a Form to be Rendered

Source:
See:
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 true will wait for event data to be received on the form.

timeout number <optional>
15

How long, in seconds, to wait for events from the form.

Classes

DeviceForm