TouchBarScrubberConstructorOptions

Properties

Link copied to clipboard
abstract var continuous: Boolean?

Defaults to true.

Link copied to clipboard
abstract var highlight: (highlightedIndex: Double) -> Unit?

Called when the user taps any item.

Link copied to clipboard

An array of items to place in this scrubber.

Link copied to clipboard

Can be fixed or free. The default is free.

Link copied to clipboard

Selected overlay item style. Can be background, outline or none. Defaults to none.

Link copied to clipboard
abstract var select: (selectedIndex: Double) -> Unit?

Called when the user taps an item that was not the last tapped item.

Link copied to clipboard

Selected item style. Can be background, outline or none. Defaults to none.

Link copied to clipboard
abstract var showArrowButtons: Boolean?

Whether to show arrow buttons. Defaults to false and is only shown if items is non-empty.