Type: Package
Title: Shiny Layout with Collapsible Panels
Version: 0.5.0
Date: 2020-01-19
Maintainer: Juan Pablo Marin Diaz <jpmarindiaz@gmail.com>
Description: Create 'Shiny Apps' with collapsible vertical panels. This package provides a new visual arrangement for elements on top of 'Shiny'. Use the expand and collapse capabilities to leverage web applications with many elements to focus the user attention on the panel of interest.
URL: http://github.com/datasketch/shinypanels
Depends: R (≥ 3.1.2)
Imports: htmltools, glue, shiny, shinyjs
Suggests: rlang, testthat
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.1.1
NeedsCompilation: no
Packaged: 2020-01-19 14:54:47 UTC; jpmarindiaz
Author: Juan Pablo Marin Diaz [aut, cre]
Repository: CRAN
Date/Publication: 2020-01-26 10:30:08 UTC

Box like component

Description

Box like component

Usage

box(..., title = NULL, collapsed = TRUE, color = "")

Arguments

...

html list contents for the panel

title

title for the box

collapsed

defines initial state

color

color name as defined in custom css

Value

None

Examples

box()


Description

Modal window

Usage

modal(..., title = NULL, id = NULL)

Arguments

...

html list contents for the panel

title

title for the modal

id

html attribute id for the component

Value

None

Examples

modal()

Modal button to trigger a modal

Description

Modal button to trigger a modal

Usage

modalButton(modal_id = NULL, label = NULL, id = NULL)

Arguments

modal_id

modal id to be triggered by the button

label

label for the button

id

html attribute id for the button

Value

None

Examples

modal()

Panel component for shiny panels layout

Description

Panel component for shiny panels layout

Usage

panel(head = NULL, body = NULL, show_footer = TRUE, footer = NULL,
  title = NULL, color = "malibu", id = NULL, collapsed = FALSE,
  width = NULL, ...)

Arguments

head

html for the panel header

body

html tag list for panel body contents

show_footer

include footer

footer

footer contents

title

panel title

color

color name as defined in custom css

id

panel div id

collapsed

panel starts as collapsed

width

panel width in pixels

...

html list contents for the panel

Value

None

Examples

panel(title = "My title")


Shiny panels layout

Description

Shiny panels layout

Usage

panelsPage(..., styles = "", header = NULL, title = NULL,
  debug = FALSE)

Arguments

...

html list contents for the panel

styles

custom css styles

header

html list with custom header

title

Title html page attribute

debug

Used for debugging layout html

Value

None

Examples

panelsPage()


Top bar component for shiny panels layout

Description

Top bar component for shiny panels layout

Usage

topbar(..., title = NULL, image = NULL, background_color = NULL)

Arguments

...

html list contents for the panel

title

Top bar panel

image

Logo image

background_color

background color for top bar

Value

None

Examples

topbar()