constructor (config) {
super()
if (config == null) config = {}
- const {items, selectedStyle, highlightedStyle, showArrowButtons, continuous, mode} = config
+ const {items, selectedStyle, overlayStyle, showArrowButtons, continuous, mode} = config
let {select, highlight} = config
this.type = 'scrubber'
this._addLiveProperty('items', items)
this._addLiveProperty('selectedStyle', selectedStyle || null)
- this._addLiveProperty('overlayStyle', highlightedStyle || null)
+ this._addLiveProperty('overlayStyle', overlayStyle || null)
this._addLiveProperty('showArrowButtons', showArrowButtons || false)
this._addLiveProperty('mode', mode || 'free')
this._addLiveProperty('continuous', continuous || true)