Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FeatureViewModel

Hierarchy

Index

Properties

Readonly content

content: string | HTMLElement | Widget | Content[]

The content of the feature.

Read more...

declaredClass

declaredClass: string

defaultPopupTemplateEnabled

defaultPopupTemplateEnabled: boolean

Enables automatic creation of a popup template for layers that have popups enabled but no popupTemplate defined.

Read more...

destroyed

destroyed: boolean

Readonly formattedAttributes

The formatted attributes calculated from fieldInfo PopupTemplate content.

Read more...

graphic

graphic: Graphic

The Graphic used to represent the feature.

Read more...

initialized

initialized: boolean

Readonly lastEditInfo

A read-only property containing metadata regarding the last edit performed on a feature.

Read more...

map

map: Map

A reference to the view's Map.

Read more...

spatialReference

spatialReference: SpatialReference

The spatial reference used for Arcade operations.

Read more...

Readonly title

title: string

The title for the feature.

Read more...

view

A reference to the MapView or SceneView.

Read more...

Readonly waitingForContent

waitingForContent: boolean

Indicates whether the feature is currently waiting for all of its content to finish loading.

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 FeatureViewModel

destroy

  • destroy(): void
  • Returns void

get

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

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

nextMedia

  • nextMedia(contentElementIndex: number): void
  • Paginates to the next media info.

    Read more...

    Parameters

    • contentElementIndex: number

    Returns void

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

previousMedia

  • previousMedia(contentElementIndex: number): void
  • Paginates to the previous media info in the specified media content element.

    Read more...

    Parameters

    • contentElementIndex: number

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns FeatureViewModel

  • Parameters

    Returns FeatureViewModel

setActiveMedia

  • setActiveMedia(contentElementIndex: number, mediaInfoIndex: number): void
  • Paginates to a specified media info object.

    Read more...

    Parameters

    • contentElementIndex: number
    • mediaInfoIndex: number

    Returns void

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc