Used by module Reset buttons. When defaults supplies a mapping for inputId
the picker is set back to it; otherwise the widget resets itself to the stock
palette it was built with.
Arguments
- session
The Shiny
sessionobject from insidemoduleServer().- inputId
Character string — the picker's id, without namespacing.
- defaults
A named list of default values, or
NULL.- groups
A character vector of the group levels currently in play.
- default_palette
A character vector of fallback colors.