Skip to content

RinteRface/fullPage

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

  • Milligram grid, button, typography, and themes.

Demos

Online:

Locally:

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

Callbacks

fullPage

  • input$slide_origin: origin slide
  • input$slide_destination: destination slide
  • input$slide_direction: scroll direction

pagePiling & multiScroll

  • input$slide_anchor: slide anchor
  • input$slide_index: slide index
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)

About

πŸ“„ fullPage.js, pagePiling.js and multiScroll.js for shiny

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published