setOrientation

fun setOrientation(orientation: TrayConfig.Orientation)

Set the button's orientation, which potentially changes its background image and how it reacts to swipes.

The default settings assume the button is oriented on the lefthand side of the screen, opening the tray to the right.

Parameters

orientation

The button's orientation.