as.tags.bslib_sidebar: Render a sidebar as HTML tags

View source: R/sidebar.R

as.tags.bslib_sidebarR Documentation

Render a sidebar as HTML tags

Description

Renders the sidebar element and collapse toggle elements for a sidebar() in a layout_sidebar() context.

Usage

## S3 method for class 'bslib_sidebar'
as.tags(x, ...)

Arguments

x

A sidebar() object.

...

Additional arguments passed to htmltools::as.tags().


rstudio/bootstraplib documentation built on Dec. 16, 2024, 2:22 p.m.