MenuItemFormItem

MenuItemFormItem

A MenuItemFormItem object as defined in the JSON schema. It represents an item in a form's menu.

Constructor

Instantiates a new MenuItemFormItem

Parameters:
Name Type Description
props object

Properties to initialize the MenuItemFormItem with

Properties
Name Type Attributes Description
description string

Sets MenuItemFormItem#description

textSearch string <optional>

Sets MenuItemFormItem#textSearch

value string <optional>

Sets MenuItemFormItem#value

Source:

Members

description :string

The description of this MenuItemFormItem.

Source:

textSearch :string

Field to add more context for searching in options.

Source:

(readonly) type :string

The type of a menu item inside a form, either "option" or "content".

Source:

value :string

The value of this MenuItemFormItem, used in form serialization.

Source:

Methods

(static) fromTag(tag) → {MenuItemFormItem}

Creates a MenuItemFormItem from a SectionTag's child

Parameters:
Name Type Description
tag
Source: