Skip to contents

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 id the mask was opened with.

Value

Called for its side effect; returns NULL invisibly.

Examples

if (interactive()) {
  # inside a server function
  observeEvent(input$done, {
    el_loading_close(session, "fetching")
  })
}