What you pass
"light": always light."dark": always dark."system": follows the visitor’s device.
What you get back
The theme now in use.
setTheme() returns a promise that resolves with it.Follow your own theme switch
Related
Customize your widget
Colours, greeting and where the button sits.
Open and close
Control the chat from your own code.
Events
Run your code when something happens.
Methods
What
DeskHoot can do.