leaftime (version 0.1.2)

sliderOptions: Timeline Slider Options Helper

Description

Timeline Slider Options Helper

Usage

sliderOptions(start = NULL, end = NULL, position = NULL,
  formatOutput = formatOutputFun(), enablePlayback = NULL,
  enableKeyboardControls = NULL, steps = NULL, duration = NULL,
  waitToUpdateMap = NULL, showTicks = NULL)

Arguments

start

number that will be the starting value of the slider.

end

number that will be the ending value of the slider.

position

string that will be the position of the timeline. See position options.

formatOutput

htmlwidgets::JS function that outputs the date as a string in the timeline.

enablePlayback

logical to show playback controls.

enableKeyboardControls

logical to allow playback to be controlled by the keyboard.

steps

number for how many steps in the timeline.

duration

number for the minimum time in milliseconds of the length of playback.

waitToUpdateMap

logical to wait until user is finished before redrawing.

showTicks

logical to show ticks on the slider.

Value

list of options to customize the timeline slider

See Also

addTimeline