register_widget

register_widget function

Deprecated. Use @render_widget instead.

Usage Source

register_widget(id: str, widget: Widget, session: Optional[Session] = None)

Registers widget as the Shiny output with id id on the given session (the current session, if not specified), and returns the widget.