attach_attribs: Attach 'router-hidden' class to single page UI content

View source: R/router.R

attach_attribsR Documentation

Attach 'router-hidden' class to single page UI content

Description

Covered UI types are Shiny/htmltools tags or tag lists and html templates. In case of tag list (tagList) and html template (htmlTemplate) 'div' wrapper with 'router-hidden' class is added.

Usage

attach_attribs(ui, path)

Arguments

ui

Single page UI content created with proper html tags or tag list.

path

Single page path name. Attached to data-path attribute.


shiny.router documentation built on April 18, 2023, 9:08 a.m.