shinyWidgets icon indicating copy to clipboard operation
shinyWidgets copied to clipboard

List of all inputs provided by the package

Open daattali opened this issue 1 year ago • 3 comments

I want to start supporting shinyWidgets in {shinyjs} (https://github.com/daattali/shinyjs/issues/255), so I wanted to look for all the inputs you provide. Simply doing a regex search for "input" in the function names isn't enough because some inputs (like actionBttn) wouldn't be caught with that. I thought I would be able to find an exhaustive list somewhere in the documentation, on the website, or in the shinyapps gallery app, but all of those seem very outdated. It would be great to have a place that lists all the inputs, and gets updated with every new one.

daattali avatar Apr 07 '25 07:04 daattali

Hello, Good news if widgets from {shinyWidgets} are supported in {shinyjs} ! Yes listing functions with "input" in their name + the exception on actionBttn() will list all widgets avalaible, pretty much like in Shiny. The most updated place to see widgets, beside the pkgdown website, is the gallery that you can launch with shinyWidgets::shinyWidgetsGallery(), some widgets are missing though, it's hard to find time to keep it updated lately, I'll see to add the missing ones in the coming weeks.

Victor

pvictor avatar Apr 11 '25 09:04 pvictor

I just did a quick glance at the functions, and there are a lot more inputs that don't have the word "input" in them. For example awesomeCheckbox, awesomeRadio, circleButton, colorPickr, downloadBttn, materialSwitch, prettyCheckbox, prettySwitch, prettyToggle, radioGroupButtons

daattali avatar Apr 11 '25 19:04 daattali

FYI all the inputs in {shinyWidgets} are now supported by shinyjs::reset()

daattali avatar Apr 12 '25 00:04 daattali