Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureTemplatesViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

filterFunction

filterFunction: FilterFunction

Function can be defined to help filter template items within the widget.

Read more...

groupBy

groupBy: string | GroupByFunction

It is possible to group template items.

Read more...

initialized

initialized: boolean

Readonly items

The template items or grouped template items.

Read more...

layers

layers: FeatureLayer[]

An array of Featurelayers that are associated with the widget.

Read more...

Readonly state

state: "disabled" | "ready" | "loading"

The widget's state.

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 FeatureTemplatesViewModel

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

get

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

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    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

refresh

  • refresh(): void
  • This method updates the template items with the provided filter.

    Read more...

    Returns void

select

  • Selects the template item to use.

    Read more...

    Parameters

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureTemplatesViewModel

  • Parameters

    Returns FeatureTemplatesViewModel

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc