Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HomeViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

goToOverride

goToOverride: GoToOverride

This function provides the ability to override either the IMapView goTo() or SceneView goTo() methods.

Read more...

initialized

initialized: boolean

Readonly state

state: "disabled" | "ready" | "going-home"

The current state of the widget.

Read more...

view

The view associated with the widget instance.

Read more...

viewpoint

viewpoint: Viewpoint

The Viewpoint, or point of view, to zoom to when going home.

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 HomeViewModel

cancelGo

  • cancelGo(): void
  • This function provides the ability to interrupt and cancel the process of navigating the view back to the view's initial extent.

    Read more...

    Returns void

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

go

  • go(): void
  • Animates the view to the initial Viewpoint of the view or the value of viewpoint.

    Read more...

    Returns void

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

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns HomeViewModel

  • Parameters

    Returns HomeViewModel

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc