Skip to contents

The inline error slot on its own: a shiny::uiOutput() bound to the ptr_error id the server writes parse/runtime error alerts to (see ptr_server()). One of the single-piece UI builders for the L3 "own every UI piece" workflow.

Usage

ptr_ui_error(id = NULL)

Arguments

id

Optional module id; the namespace prefix for the output. Defaults to NULL (identity namespace). When set, must match the id passed to the other piece functions and the server wiring.

Value

A shiny::tag.

Examples

ptr_ui_error("myplot")
#> <div id="myplot-ptr_error" class="shiny-html-output"></div>