Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ZoomViewModel

Hierarchy

Index

Properties

canZoomIn

canZoomIn: boolean

Indicates if the view can zoom in.

Read more...

canZoomOut

canZoomOut: boolean

Indicates if the view can zoom out.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

Readonly state

state: "disabled" | "ready"

The current state of the widget.

Read more...

view

The view from which to operate.

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 ZoomViewModel

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

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns ZoomViewModel

  • Parameters

    Returns ZoomViewModel

watch

  • Parameters

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

    Returns WatchHandle

zoomIn

  • zoomIn(): void
  • Zooms the view in by an LOD factor of 0.5.

    Read more...

    Returns void

zoomOut

  • zoomOut(): void
  • Zooms the view out by an LOD factor of 2.

    Read more...

    Returns void

Generated using TypeDoc