RinteRface / fullPage

📄 fullPage.js, pagePiling.js and multiScroll.js for shiny
https://fullpage.rinterface.com
Other
111 stars 12 forks source link
r rstats shiny

fullPage

Travis build status CRAN status

Many of the amazing works of Álvaro Trigo for Shiny!

FullPage

Installation

# install.packages("remotes")
remotes::install_github("RinteRface/fullPage")

Features

Includes the following frameworks:

All ships with:

Demos

Online:

Locally:

demo("fullPage", package = "fullPage")
demo("pagePiling", package = "fullPage")
demo("multiPage", package = "fullPage")

Callbacks

fullPage

pagePiling & multiScroll

library(shiny)
library(fullPage)

ui <- fullPage(
  fullSection(
    menu = "first",
    center = TRUE,
    h1("Callbacks")
  ),
  fullSection(
    menu = "second",
    center = TRUE,
    h3("Slice"),
    verbatimTextOutput("slide")
  )
)

server <- function(input, output){

  output$slide <- renderPrint({
    input$slide_origin # returns menu
  })

}

shinyApp(ui, server)