Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Control
    • TimelineSliderControl

Index

Constructors

constructor

Properties

container

container: HTMLElement

end

end: number

map

map: Map

options

options: Required<TimelineSliderControlOptions>

start

start: number

syncedControl

syncedControl: TSC[]

time

time: number

timelines

timelines: Timeline[]

Methods

addTimelines

  • addTimelines(this: TSC, ...timelines: Timeline[]): void

addTo

  • addTo(map: Map): this
  • Parameters

    • map: Map

    Returns this

getContainer

  • getContainer(): HTMLElement | undefined

getPosition

  • getPosition(): ControlPosition

next

  • next(this: TSC): void

Optional onAdd

  • onAdd(map: Map): HTMLElement
  • Parameters

    • map: Map

    Returns HTMLElement

Optional onRemove

  • onRemove(map: Map): void

pause

  • pause(this: TSC, fromSynced?: undefined | false | true): void

play

  • play(this: TSC, fromSynced?: undefined | false | true): void

prev

  • prev(this: TSC): void

remove

  • remove(): this

removeTimelines

  • removeTimelines(this: TSC, ...timelines: Timeline[]): void

setPosition

  • setPosition(position: ControlPosition): this

setTime

  • setTime(this: TSC, time: number): void

syncControl

  • syncControl(this: TSC, controlToSync: TSC): void

toggle

  • toggle(this: TSC): void

Static addInitHook

  • addInitHook(initHookFn: () => void): any & typeof Class
  • addInitHook(methodName: string, ...args: any[]): any & typeof Class
  • Parameters

    • initHookFn: () => void
        • (): void
        • Returns void

    Returns any & typeof Class

  • Parameters

    • methodName: string
    • Rest ...args: any[]

    Returns any & typeof Class

Static extend

  • extend<T>(props: T): { constructor: any } & typeof Control
  • Type parameters

    • T: object

    Parameters

    • props: T

    Returns { constructor: any } & typeof Control

Static include

  • include(props: any): any & typeof Class
  • Parameters

    • props: any

    Returns any & typeof Class

Static mergeOptions

  • mergeOptions(props: any): any & typeof Class
  • Parameters

    • props: any

    Returns any & typeof Class

Generated using TypeDoc