@vernonia/core - v5.1.12
    Preparing search index...

    Hierarchy

    • PopupTemplate
      • default
    Index

    Constructors

    • A PopupTemplate formats and defines the content of a Popup for a specific Layer or Graphic.

      Read more...

      Parameters

      • Optionalproperties: PopupTemplateProperties

      Returns default

    Properties

    declaredClass: string
    destroyed: boolean
    initialized: boolean
    lastEditInfoEnabled: boolean

    Indicates whether or not editor tracking should display.

    true

    Read more...

    outFields: string[] = ...

    An array of field names used in the PopupTemplate.

    null

    Read more...

    overwriteActions: boolean

    Indicates whether actions should replace existing popup actions.

    false

    Read more...

    returnGeometry: boolean

    Indicates whether to include the feature's geometry for use by the template.

    false

    Read more...

    title: string = '{wsc_id} - {Address}'

    The template for defining how to format the title used in a popup.

    Read more...

    Accessors

    • get actions(): nullish | Collection<ActionButton | ActionToggle>

      Returns nullish | Collection<ActionButton | ActionToggle>

    • set actions(
          value:
              | nullish
              | CollectionProperties<
                  | ActionButtonProperties & { type: "button" }
                  | ActionToggleProperties & { type: "toggle" },
              >,
      ): void

      Parameters

      • value:
            | nullish
            | CollectionProperties<
                | ActionButtonProperties & { type: "button" }
                | ActionToggleProperties & { type: "toggle" },
            >

      Returns void

    • get expressionInfos(): nullish | popupExpressionInfo[]

      An array of objects or ExpressionInfo[] that reference Arcade expressions following the specification defined by the Arcade Popup Profile.

      Read more...

      Returns nullish | popupExpressionInfo[]

    • set expressionInfos(value: nullish | popupExpressionInfoProperties[]): void

      Parameters

      • value: nullish | popupExpressionInfoProperties[]

      Returns void

    • get fieldInfos(): nullish | FieldInfo[]

      An array of FieldInfo that defines how fields in the dataset or values from Arcade expressions participate in a popup.

      Read more...

      Returns nullish | FieldInfo[]

    • set fieldInfos(value: nullish | FieldInfoProperties[]): void

      Parameters

      • value: nullish | FieldInfoProperties[]

      Returns void

    • get layerOptions(): nullish | LayerOptions

      Additional options that can be defined for the popup layer.

      Read more...

      Returns nullish | LayerOptions

    • set layerOptions(value: nullish | LayerOptionsProperties): void

      Parameters

      • value: nullish | LayerOptionsProperties

      Returns void

    Methods

    • Parameters

      • propertyName: string

      Returns any

    • Type Parameters

      • T

      Parameters

      • propertyName: string

      Returns T

    • Type Parameters

      • T

      Parameters

      • propertyName: string
      • value: T

      Returns this

    • Type Parameters

      • T

      Parameters

      • handles: IHandle | IHandle[]
      • OptionalgroupKey: Exclude<T, IHandle>

      Returns void

    • Creates a deep clone of this object.

      Read more...

      Returns this

    • Returns void

    • Type Parameters

      • T

      Parameters

      • OptionalgroupKey: Exclude<T, IHandle>

      Returns boolean

    • Parameters

      • propertyName: string

      Returns void

    • Type Parameters

      • T

      Parameters

      • OptionalgroupKey: Exclude<T, IHandle>

      Returns void

    • Type Parameters

      • T

      Parameters

      • propertyName: string
      • value: T

      Returns this

    • Parameters

      • props: HashMap<any>

      Returns this

    • Converts an instance of this class to its ArcGIS portal JSON representation.

      Read more...

      Returns any

    • Parameters

      • path: string | string[]
      • callback: WatchCallback
      • Optionalsync: boolean

      Returns WatchHandle

    • Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product.

      Parameters

      Returns any

    • Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product.

      Parameters

      Returns PopupTemplate