View source: R/shiny-components.R
simple_layout | R Documentation |
Provides simple layout, with inputs on the left, and outputs
on the right. Only useful in 'shidashi'
framework.
simple_layout( input_ui, output_ui, input_width = 4L, container_fixed = FALSE, container_style = NULL, scroll = FALSE )
input_ui |
the 'HTML' tags for the inputs |
output_ui |
the 'HTML' tags for the outputs |
input_width |
width of inputs, must be an integer from 1 to 11 |
container_fixed |
whether the maximum width of the container should be fixed; default is no |
container_style |
additional 'CSS' style of the container |
scroll |
whether to stretch the container to full-heights and scroll the input and output separately. |
'HTML' tags
library(shiny) library(ravedash) simple_layout( input_ui = list( ravedash::input_card( title = "Data Selection", "Add inputs here" ) ), output_ui = list( ravedash::output_card( title = "Result A", "Add outputs here" ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.