Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TemplateItem

Hierarchy

Index

Properties

declaredClass

declaredClass: string

description

description: string

The description that is displayed for the template item.

Read more...

destroyed

destroyed: boolean

initialized

initialized: boolean

label

label: string

The label that is displayed for the template item.

Read more...

layer

The FeatureLayer associated with the template item.

Read more...

template

template: FeatureTemplate

The associated FeatureTemplate for the item.

Read more...

Readonly thumbnail

thumbnail: HTMLElement

An object used to create a thumbnail image that represents a feature type in the feature template.

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 TemplateItem

clone

  • Creates a deep clone of the template item object.

    Read more...

    Returns TemplateItem

destroy

  • destroy(): void
  • Returns void

fetchThumbnail

  • fetchThumbnail(): Promise<any>
  • Fetches the thumbnail used to display the template item.

    Read more...

    Returns Promise<any>

get

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

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TemplateItem

  • Parameters

    Returns TemplateItem

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc