0

Where is a documented list of kwargs I can pass to buttons (download, inputs, etc.) in Python shiny?

That's really all I need to get my first shiny app where I want it to be.

A "What's the Magic Words?" Situation

My app's workflow looks something like...

  1. a user uploads a file
  2. the user commands the app to do some work
  3. the app enables a button for to download the results

I would like to do things like use icons for buttons and disable the download button until after the user commanded the app to do work. The issue is that I cannot figure out what the kwargs are (or if they are in the correct form: a dict, list of tuples, etc.)

What I Have Tried

From the documentation and this useful tutorial, I have gathered that I can use ui.update_select() to toggle the button's state, but I just don't know (and can't find) the magical keyword! The kwargs for the buttons do not show up in the documentation.

Normally I would resort to finding an example, but only the pure R Shiny shows up. Their attributes don't seem to work as kwargs in Python Shiny or I am phrasing these wrong. (A dict seems to make the most sense here...)

PipperChip
  • 141
  • 1
  • 1
  • 8

0 Answers0