Carson Sievert || Customizing Navigation Items in Shiny using {bslib} || RStudio
Автор: Posit PBC
Загружено: 2022-02-22
Просмотров: 3171
00:00 Introduction
00:15 Linking inside navbarPage
01:19 Replacing tabPanel with navbarPage, and navbarMenu
02:32 nav_spacer()
03:41 Adding header and//or footer content
04:07 Replacing tabsetPanel with navs_tab and navs_pill
04:32 navs_tab_card() and navs_pill_card() variants
04:40 Demo of all of the nav_*() functions
The bslib R package provides tools for customizing Bootstrap themes directly from R, making it much easier to customize the appearance of Shiny apps & R Markdown documents. bslib’s primary goals are:
To make custom theming as easy as possible.
Custom themes may even be created interactively in real-time.
Also provide easy access to pre-packaged Bootswatch themes.
Make upgrading from Bootstrap 3 to 4 (and beyond) as seamless as possible. (Shiny and R Markdown default to Bootstrap 3 and will continue to do so to avoid breaking legacy code.)
Serve as a general foundation for Shiny and R Markdown extension packages. (Extensions such as flexdashboard, pkgdown, and bookdown already fully support bslib’s custom theming capabilities.)
You can read more about bslib here: https://rstudio.github.io/bslib/artic...
And you can learn more about Shiny here: https://shiny.rstudio.com/
Got questions? The RStudio Community site is a great place to get assistance: https://community.rstudio.com/
Content: Carson Sievert (@cpsievert)
Design & editing: Jesse Mostipak (@kierisi)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: