The gear-and-band affordance blockr.io's blocks use for advanced
settings: a small gear button, and an in-flow panel that opens beneath it
(class-driven via blockrIoGearToggle(), so it pushes content down
rather than overlaying it). Exported so sibling packages can mount the
same affordance with the same styling; the required JS and CSS ride along
as an html dependency.
Arguments
- gear_id, band_id
Element ids (namespace them with
shiny::NS()). The two are wired: the button toggles the band and carries thearia-controlslinkage.- ...
Band content.
- band_label
Accessible label for the band region.
Value
A htmltools::tagList() with the gear row and the band; place
them together at the top of the block section they configure.