slateOptions: Setup Slate Display and Behaviour Options

Description Usage Arguments Value

Description

Setup Slate Display and Behaviour Options

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
slateOptions(
  envir = new.env(),
  height = NULL,
  container = "card",
  use.card = TRUE,
  card.header = TRUE,
  view.inputs = TRUE,
  open.editor = FALSE,
  inputs.style = c("tabset", "collapses", "flowing")
)

Arguments

envir

the parent environment where the slate code is executed.

height

height of the slate in any css unit (e.g. "500px"). If NULL the height of the slate is unrestricted.

container

container for the slate. Either one of "card", "none", or a function used to contruct the container UI.

use.card

use a bs4 card as a container for the slate UI.

card.header

show the card header. Only used if use.card is TRUE.

open.editor
inputs.style

the style used for the inputs panel. "tabset" uses a tabsetPanel as a container for input pages. "collapses" uses bs4 collapse panels. "flowing" displays all pages in a single vertical container.

Value

a list of options to be passed to slateUI() and slateServer().


amar00k/rslates documentation built on May 25, 2021, 1:12 p.m.