Comments (1)
What shall the API look like?
button
bs_buttton <- function(label, button_type = "default", ...)
Argument | Description |
---|---|
label |
character (HTML), button label |
button_type |
character, one of "default" , "primary" , ... |
... |
passed to tags$button() , named args passed to tagAppendAttributes() , unnamed args become children |
You can change the size of the buttons, but I don't think that would be used too often - perhaps just note in the documentation that this can be addressed with a class
specification.
panel
bs_panel <- function(panel_type = "default", heading = NULL, content = NULL, footer = NULL, ...)
bs_panel_title <- function(title = NULL)
Argument | Description |
---|---|
panel_type |
character, one of "default" , "primary" , ... |
heading |
character (HTML) for panel heading, use bs_panel_title() to use title styling |
content |
character (HTML) content for panel body |
footer |
character (HTML) for panel footer |
... |
passed to tags$div() for panel, named args passed to tagAppendAttributes() , unnamed args become children |
title |
character (HTML) to wrap in in title-styling |
well
bs_well(size = c("medium", "large", "small"), ...)
Argument | Description |
---|---|
size |
character, well size |
... |
passed to tags$div() for well, named args passed to tagAppendAttributes() , unnamed args become children |
responsive embed
bs_wrap_responsive <- function(tag, aspect_ratio = c("16by9", "4by3"))
Argument | Description |
---|---|
tag |
HTML, <iframe/> (maybe warn if not iframe) |
aspect_ratio |
character, aspect ratio for the embed |
from bsplus.
Related Issues (20)
- reactive bs_modal
- Limit to number of bstooltip that will show up?
- How to create bs_modal() in a loop in rmarkdown? HOT 1
- Stop carousel autoplay using Shiny and JavaScript
- `bsplus` only works for `html_document` but not `bookdown`?
- Error in .tag_validate(tag, name = "div", class = "form-group shiny-input-container")
- Usage of bs_embed_popover inside module
- Is this package still supported? HOT 1
- Release bsplus 0.1.3
- fix pkgdown
- Compatability with rstudio/bslib bootstrap version 4 or 5? HOT 3
- Compatibility with Bootstrap 5
- bsTooltip does not allow special characters
- fix CRAN issues
- Release bsplus 0.1.4 HOT 1
- Release bsplus 0.1.4
- Different tooltip behavior with htmlOutput()/renderUI()
- Customize colors
- Allow multiple panels to be open at one time HOT 3
- bsplus Package in Quarto (RStudio): Modals Not Opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsplus.