Emits a minimal .shidashi-drawer container with a
uiOutput placeholder inside, plus the drawer
overlay. The drawer starts empty; module server code fills it
dynamically via shiny::renderUI.
Typical usage in a module-ui.html template:
{{ shidashi::module_drawer() }}Then in the module server:
output$shidashi_drawer <- shiny::renderUI({
shiny::tagList(
shiny::h5("My settings"),
shiny::p("Custom drawer content here.")
)
})The ns() function from the module's template evaluation
environment is used automatically so that the output ID is
properly scoped to the module namespace.
Value
A shiny::tagList containing the drawer div and
its overlay.