Title: | Assets for 'shiny.semantic' |
---|---|
Description: | Style sheets and JavaScript assets for 'shiny.semantic' package. |
Authors: | Jakub Nowicki [aut, cre] |
Maintainer: | Jakub Nowicki <[email protected]> |
License: | LGPL-3 |
Version: | 1.1.0 |
Built: | 2024-11-07 05:58:21 UTC |
Source: | https://github.com/appsilon/semantic.assets |
Supported semantic themes
SUPPORTED_THEMES
SUPPORTED_THEMES
An object of class character
of length 17.
A character vector of supported themes
SUPPORTED_THEMES
SUPPORTED_THEMES
htmlwidget that adds semanticui dependencies and renders in viewer or rmarkdown.
uirender(ui, width = NULL, height = NULL, element_id = NULL)
uirender(ui, width = NULL, height = NULL, element_id = NULL)
ui |
UI, which will be wraped in an htmlwidget. |
width |
Fixed width for widget (in css units). The default is NULL, which results in intelligent automatic sizing. |
height |
Fixed height for widget (in css units). The default is NULL, which results in intelligent automatic sizing. |
element_id |
Use an explicit element ID for the widget (rather than an automatically generated one). |
library(shiny) library(shiny.semantic) library(semantic.assets) uirender( card( div( class = "content", div(class = "header", "Elliot Fu"), div(class = "meta", "Friend"), div(class = "description", "Elliot Fu is a film-maker from New York.") ) ) )
library(shiny) library(shiny.semantic) library(semantic.assets) uirender( card( div( class = "content", div(class = "header", "Elliot Fu"), div(class = "meta", "Friend"), div(class = "description", "Elliot Fu is a film-maker from New York.") ) ) )