Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISliderConfiguration

Interface for configuration of slider component.

interface
var viewer = new Mapillary.Viewer('<element-id>', '<client-id>', '<image-key>',
    {
        component: {
            slider: {
                initialPosition: 0.5,
                keys: {
                    background: '<background-key>',
                    foreground: '<foreground-key>',
                },
                sliderVisible: true,
            },
        },
    })

Hierarchy

  • IComponentConfiguration
    • ISliderConfiguration

Indexable

[index: string]: any

Interface for configuration of slider component.

Index

Properties

Optional initialPosition

initialPosition: number

Initial position of the slider on the interval [0, 1].

default

1

Optional keys

Slider keys.

Optional mode

Mode used for image pair transitions.

Optional sliderVisible

sliderVisible: boolean

Value indicating whether the slider should be visible.

default

true

Generated using TypeDoc