Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements IFormContent
The FormContent class is used to create a form within the Command Palette. It provides properties and methods to manage the form's data, state, and template.
Properties
Property | Type | Description |
---|---|---|
DataJson | String | The JSON representation of the form's data. |
StateJson | String | The JSON representation of the form's state. |
TemplateJson | String | The JSON representation of the form's template. |
Methods
Method | Description |
---|---|
SubmitForm(String) | Submits the form with the specified JSON data. |
SubmitForm(String, String) | Submits the form with the specified JSON data and state. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer