pushbar

🖥️ Off-canvas elements for Shiny

https://github.com/johncoene/pushbar

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 3 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary

Keywords

r rstats shiny
Last synced: 9 months ago · JSON representation

Repository

🖥️ Off-canvas elements for Shiny

Basic Info
Statistics
  • Stars: 59
  • Watchers: 4
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Topics
r rstats shiny
Created over 7 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Travis build status

pushbar

See bsutils for a Bootstrap 5 built-in.

Brings pushbar.js to Shiny; create off-canvas sliders for inputs, outputs or any other content.

Installation

Install the stable version (recommended) from CRAN:

r install.packages("pushbar")

Install the development version with remotes

``` r

install.packages("remotes")

remotes::install_github("JohnCoene/pushbar") ```

How to use

  1. Include pushbar_deps anywhere in your ui.
  2. Include setup_pushbar at the top of your server function, it'll also let you determine whether to use blur and overlay when pushbars are opened.
  3. Use pushbar in your ui to include content in pushbars.
  4. Use pushbar_open and pushbar_close to programatically (server-side) open and close the pushbars.

Also includes an event (see example) to capture whether a pushbar is opened (input$pushbarID_pushbar_opened).

Example

Live Demo

``` r library(shiny) library(pushbar)

ui <- fluidPage( pushbar_deps(), br(), actionButton("open", "Open pushbar"), pushbar( h4("HELLO"), id = "myPushbar", # add id to get event actionButton("close", "Close pushbar") ), fluidRow( column(5), column(5, span("Is a pushbar opened?"), verbatimTextOutput("ev")) ) )

server <- function(input, output, session){

setup_pushbar() # setup

observeEvent(input$open, { pushbar_open(id = "myPushbar") })

observeEvent(input$close, { pushbar_close() })

output$ev <- renderPrint({ input$myPushbarpushbaropened }) }

if(interactive()) shinyApp(ui, server) ```

Owner

  • Name: John Coene
  • Login: JohnCoene
  • Kind: user
  • Location: Switzerland
  • Company: @devOpifex

R, Go, JavaScript, and other indoor stuff.

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 39
  • Total Committers: 3
  • Avg Commits per committer: 13.0
  • Development Distribution Score (DDS): 0.077
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
John Coene j****p@g****m 36
lz l****0@u****u 2
Shawn Lin x****n@c****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 2
  • Total pull requests: 2
  • Average time to close issues: about 9 hours
  • Average time to close pull requests: about 9 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • etiennebacher (1)
  • lz100 (1)
Pull Request Authors
  • shawnlinxl (1)
  • lz100 (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 252 last-month
  • Total docker downloads: 15
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: pushbar

Create Sliders for 'Shiny'

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 252 Last month
  • Docker Downloads: 15
Rankings
Stargazers count: 5.8%
Dependent repos count: 16.5%
Forks count: 17.0%
Average: 22.9%
Dependent packages count: 28.7%
Downloads: 46.7%
Maintainers (1)
Last synced: 9 months ago

Dependencies

DESCRIPTION cran
  • jsonlite * imports
  • shiny * imports