Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SwipeViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

direction

direction: "horizontal" | "vertical"

The direction the Swipe widget moves across the view.

Read more...

initialized

initialized: boolean

leadingLayers

leadingLayers: Collection<Layer>

A collection of Layers that will show on the left or top side of Swipe widget.

Read more...

position

position: number

The position of the Swipe widget.

Read more...

Readonly state

state: "disabled" | "ready"

The current state of the widget.

Read more...

trailingLayers

trailingLayers: Collection<Layer>

A collection of Layers that will show on the right or bottom side of Swipe widget.

Read more...

view

view: MapView

A reference to the MapView.

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 SwipeViewModel

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 SwipeViewModel

  • Parameters

    Returns SwipeViewModel

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc