Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimeSliderViewModel

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly effectiveStops

effectiveStops: Date[]

Defined specific locations on the timeline that the handles will snap to when manipulated.

Read more...

fullTimeExtent

fullTimeExtent: TimeExtent

The temporal extent of the entire slider.

Read more...

initialized

initialized: boolean

loop

loop: boolean

If animating, the time indicator(s) will restart if they reach the edge.

Read more...

mode

mode: "instant" | "time-window" | "cumulative-from-start" | "cumulative-from-end"

The time slider mode.

Read more...

playRate

playRate: number

The time (in milliseconds) between animation steps.

Read more...

Readonly state

state: "disabled" | "ready" | "playing"

The view model's state.

Read more...

stops

Defines specific locations on the time slider where thumbs will snap to when manipulated.

Read more...

timeExtent

timeExtent: TimeExtent

The current time extent of the time slider.

Read more...

values

values: Date[]

The user defined time extent.

Read more...

view

A reference to the MapView or SceneView.

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 TimeSliderViewModel

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

next

  • next(): void
  • Incrementally moves the time extent forward one stop

    Read more...

    Returns void

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

play

  • play(): void
  • Initiates the time slider's temporal playback.

    Read more...

    Returns void

previous

  • previous(): void
  • Incrementally moves the time extent back one stop.

    Read more...

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TimeSliderViewModel

  • Parameters

    Returns TimeSliderViewModel

stop

  • stop(): void
  • Stops the time slider's temporal playback.

    Read more...

    Returns void

updateWebDocument

  • updateWebDocument(webmap: WebMap): void
  • Updates the time slider widget definition in the provided WebMap.

    Read more...

    Parameters

    Returns void

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc