1 | initial version |
To produce a shinyglide screen using a numericInput, you can follow these steps:
install.packages("shinyglide")
library(shinyglide)
numericInput
as the input element:ui <- fluidPage(
numericInput("number", "Enter a number:", value = 1)
)
glideLayout
function, and include the numericInput
inside a slide:ui <- fluidPage(
glideLayout(
slide("Slide 1",
numericInput("number", "Enter a number:", value = 1)
)
)
)
shinyApp
function:server <- function(input, output) {}
shinyApp(ui, server)
Now you should see a shinyglide screen with a numericInput as the input element. You can add more slides to the glide layout using the slide
function, and include more input/output elements or any other Shiny UI components in each slide.