Edit

Share via


IForm Interface

Definition

Namespace: Microsoft.CommandPalette.Extensions

The IForm interface represents a form in the Command Palette. It is used to define the properties and methods for creating and managing forms, such as displaying fields, handling user input, and validating data.

Methods

Method Description
DataJson() The JSON representation of the data associated with the form.
StateJson() The JSON representation of the state associated with the form.
SubmitForm(String) Submits the form data.
TemplateJson() The JSON representation of the template associated with the form.