Implements

Constructors

Properties

Methods

Constructors

  • Create a Form instance. Instead of creating an instance in new mode, use create to create an instance.

    Parameters

    • options: Options

      Create a Form instance with the specified options.

    Returns FormObject

     const form = await Form.create();
    

Properties

options: Options

The options to create a Menu instance.

Methods

  • Destroy the current object.

    Returns Promise<void>

  • Create a FormObject instance.

    Parameters

    • Optionaloptions: Options

      Create a FormObject instance with the specified options.

    Returns Promise<FormObjectType>

    Return a FormObject instance.

     const formObject = await FormObject.create();