Add more non-default options to scrubber spec
This commit is contained in:
parent
87c219748d
commit
49d48a4eb0
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ describe('TouchBar module', function () {
|
||||||
}),
|
}),
|
||||||
new TouchBarSegmentedControl({segments: []}),
|
new TouchBarSegmentedControl({segments: []}),
|
||||||
new TouchBarScrubber({
|
new TouchBarScrubber({
|
||||||
items: [{label: 'foo'}, {label: 'bar'}, {label: 'baz'}]
|
items: [{label: 'foo'}, {label: 'bar'}, {label: 'baz'}],
|
||||||
|
selectedStyle: 'outline',
|
||||||
|
mode: 'fixed',
|
||||||
|
showArrowButtons: true
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
window.setTouchBar(touchBar)
|
window.setTouchBar(touchBar)
|
||||||
|
|
Loading…
Reference in a new issue