Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureFormViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

description

description: string

The description of the form.

Read more...

destroyed

destroyed: boolean

feature

feature: Graphic

The associated feature containing the editable attributes.

Read more...

fieldConfig

fieldConfig: FieldConfig[] | FieldGroupConfig[]

Array of individual or grouped field configuration objects.

Read more...

formTemplate

formTemplate: FormTemplate

The associated template used for the form.

Read more...

initialized

initialized: boolean

Readonly inputFields

inputFields: InputField[] | InputFieldGroup[]

The input fields and/or grouped field rendered by the FeatureForm widget.

Read more...

layer

Layer containing the editable feature attributes.

Read more...

Readonly state

state: "disabled" | "ready"

The widget's state.

Read more...

title

title: string

The title of the form.

Read more...

valid

valid: boolean

Indicates whether all input fields are valid.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureFormViewModel

destroy

  • destroy(): void
  • Returns void

emit

  • emit(type: string, event?: any): boolean
  • Emits an event on the instance.

    Read more...

    Parameters

    • type: string
    • Optional event: any

    Returns boolean

findField

  • Convenience method to find input fields.

    Read more...

    Parameters

    • fieldName: string

    Returns InputField

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

getValues

  • getValues(): any
  • Returns all of the field values, regardless of whether or not they were updated.

    Read more...

    Returns any

hasEventListener

  • hasEventListener(type: string): boolean
  • Indicates whether there is an event listener on the instance that matches the provided event name.

    Read more...

    Parameters

    • type: string

    Returns boolean

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

on

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureFormViewModel

  • Parameters

    Returns FeatureFormViewModel

submit

  • submit(): void
  • Fires the submit event.

    Read more...

    Returns void

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc