theme_picker_server

theme_picker_server()

Theme picker - Server

This function adds the necessary server logic for the theme picker UI to properly update. Be sure to include theme_picker_ui in your UI definition.

Examples

def server(input):
    shinyswatch.theme_picker_server()

    # The rest of your server logic...

See Also