Class: LayerSliderView

Tools.LayerSlider LayerSliderView

LayerSliderView

new LayerSliderView(options)

modules/tools/layerSlider/view.js, line 21
Name Type Description
options Object Input options
Listens to Events:

Extends

Methods

appendLayerTitles(){void}

modules/tools/layerSlider/view.js, line 84
Appends the layer titles based on the position of the slider ticks.

backwardSlider(){void}

modules/tools/layerSlider/view.js, line 140
Triggers the backward layer.

dragHandle(evt){void}

modules/tools/layerSlider/view.js, line 205
Calls model-function on dragged handle.
Name Type Description
evt Event Drag event.

forwardSlider(){void}

modules/tools/layerSlider/view.js, line 148
Triggers the forward layer.

initHandle(){void}

modules/tools/layerSlider/view.js, line 76
Initializes the handle

layerSwitched(){void}

modules/tools/layerSlider/view.js, line 156
Steers the actions after a changed layer in the model.

playSlider(){void}

modules/tools/layerSlider/view.js, line 117
Starts the interval.

render(){void}

modules/tools/layerSlider/view.js, line 50
Render function.

setProgress(){void}

modules/tools/layerSlider/view.js, line 165
Calculates the progress bar.

setTitle(){void}

modules/tools/layerSlider/view.js, line 187
Sets the layer title.

stopSlider(){void}

modules/tools/layerSlider/view.js, line 126
Stops the interval by pause or stop.

toggleGlyphicon(glyph){void}

modules/tools/layerSlider/view.js, line 196
Toggles the pause / stop glyphicon.
Name Type Description
glyph string Class des Glyphicon