Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FormComponent<"dropdown">
    • DropDown

Index

Constructors

Properties

Methods

Constructors

  • new DropDown(data: { default?: number; label?: string; options: string[] }): DropDown
  • Creates a new drop-down with the provided data

    Parameters

    • data: { default?: number; label?: string; options: string[] }

      The data to build the drop-down with

      • Optional default?: number

        Index of the default option in the array

        default

        0

      • Optional label?: string

        The label of the dropdown

        default

        "Drop-down"

      • options: string[]

        The choices in the dropdown

    Returns DropDown

Properties

default: number

Index of the default option in the array

label: string

The label of the dropdown

options: string[]

The choices in the dropdown

type: "dropdown"

The type of FormComponent

Methods

  • setDef(curr: any, to: any): any

Generated using TypeDoc version 0.22.18, the 7/5/2022