Closes the mask el_loading() opened under this id. Closing one that is
not open does nothing.
Usage
el_loading_close(session = shiny::getDefaultReactiveDomain(), id = "default")Arguments
- session
Shiny session; the current one by default, as for
shiny::updateTextInput().- id
The
idthe mask was opened with.
Examples
if (interactive()) {
# inside a server function
observeEvent(input$done, {
el_loading_close(session, "fetching")
})
}