Description Usage Arguments Details
View source: R/api-facile-internal.R
Copied from FacileViz, but we don't want to depend on that.
1 | unselected(value, ignore = c("---", "__initializing__", ""))
|
value |
The (character) object returned from a 'selectInput' |
For some reason, sometimes a selectInput returns 'NULL' and other times it returns ‘""', so I’m just making this utility function to deal with that
NOTE: This is really a function that is used by shiny modules, but instead of having every shiny function check if something is "unselected" and setting it to NULL, we move that functionality in here so that internal vizualization functions can do that jusst once
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.