Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AttachmentsViewModel

Hierarchy

Index

Properties

activeAttachmentInfo

activeAttachmentInfo: supportAttachmentInfo

The current AttachmentInfo being edited.

Read more...

Readonly attachmentInfos

attachmentInfos: supportAttachmentInfo[]

A collection of AttachmentInfo defined on a feature.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

graphic

graphic: Graphic

The graphic for the attachments.

Read more...

initialized

initialized: boolean

mode

mode: "add" | "view" | "edit"

The current mode performed by the user.

Read more...

Readonly state

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

The current state of the widget.

Read more...

supportsResizeAttachments

supportsResizeAttachments: boolean

Defines whether or not the feature supports resizing attachments.

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 AttachmentsViewModel

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

getAttachments

  • Queries for the attachments on a feature.

    Read more...

    Returns Promise<supportAttachmentInfo[]>

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns AttachmentsViewModel

  • Parameters

    Returns AttachmentsViewModel

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc