TouchBarScrubber
Class: TouchBarScrubber
Create a scrubber (a scrollable selector)
Process: Main
new TouchBarScrubber(options)
Experimental
-
options
Object-
items
ScrubberItem[] - An array of items to place in this scrubber -
select
Function - Called when the user taps an item that was not the last tapped item-
selectedIndex
Integer - The index of the item the user selected
-
-
highlight
Function - Called when the user taps any item-
highlightedIndex
Integer - The index of the item the user touched
-
-
selectedStyle
String - Selected it
-