Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FormButton

Index

Constructors

constructor

  • new FormButton(label: string, value: string, causesValidation: boolean, isDefault?: boolean): FormButton
  • Initializes a new instance of the {@link geocortex.forms.FormButton} class.

    class

    A button used when displaying a form.

    constructs

    Parameters

    • label: string
    • value: string

      The value of the button.

    • causesValidation: boolean

      Indicates whether the button is the default button.

    • Optional isDefault: boolean

    Returns FormButton

Properties

causesValidation

causesValidation: Observable<boolean>

A value indicating whether invoking the button causes form validation.

type

Observable

isDefault

isDefault: Observable<boolean>

A value indicating whether it is the default button. A user invokes the default button by pressing the ENTER key for example.

label

label: Observable<string>

The label on the button.

value

value: Observable<string>

The value associated with the button.