Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new Form(title: string, subtitle: string, description: string): Form
  • Parameters

    • title: string
    • subtitle: string
    • description: string

    Returns Form

Properties

actions: Action[] = []
alignment: ALIGNMENT
buttons: Button[] = []
classified: string
description: string = ''
iactions: Map<string, Action> = ...
ibuttons: Map<string, Button> = ...
identifier: string
iinputs: Map<string, Input> = ...
inputs: Input[] = []
label: string
placeholder: boolean
position: POSITION
size: SIZE
style: string
subtitle: string = ''
title: string
type: string = 'form'

Methods

  • Set actions that the component has

    Parameters

    • title: string = ''

      title of action

    • size: SIZE = SIZE.SMALL

      size of action

    Returns Action

  • Set buttons that the component has

    Parameters

    • title: string = ''

      button title

    • size: SIZE = SIZE.SMALL

      size of button

    Returns Button

  • setClassified(classified?: string): Form
  • classified setter

    Parameters

    • classified: string = ''

    Returns Form

  • setIdentifier(identifier: string): Form
  • identifier setter

    Parameters

    • identifier: string

    Returns Form

  • setInput(title?: string): Input
  • setLabel(label?: string): Form
  • label setter

    Parameters

    • label: string = ''

    Returns Form

  • setPlaceholder(enabled?: boolean): Form
  • placeholder setter

    Parameters

    • enabled: boolean = false

    Returns Form

  • setStyle(style?: string): Form
  • style setter

    Parameters

    • style: string = ''

    Returns Form

  • setTitle(title?: string): Form
  • title setter

    Parameters

    • title: string = ''

    Returns Form

  • setType(type?: string): Form
  • type setter

    Parameters

    • type: string = ''

    Returns Form

Generated using TypeDoc