Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FormComponent<"textbox">
    • TextBox

Index

Constructors

  • new TextBox(data: { default?: string; label?: string; placeholder?: string }): TextBox
  • Creates a new text box with the provided data

    Parameters

    • data: { default?: string; label?: string; placeholder?: string }

      The data to build the text box with

      • Optional default?: string

        The default value of this text box

      • Optional label?: string

        The label of this text box

        default

        "Text Box"

      • Optional placeholder?: string

        The placeholder text of this text box

        default

        "Placeholder"

    Returns TextBox

Properties

default: string

The default value of this text box

label: string

The label of this text box

default

"Text Box"

placeholder: string

The placeholder text of this text box

default

"Placeholder"

type: "textbox"

The type of FormComponent

Methods

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

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