Package 'shinyEventsUI'

Title: Some shiny widgets that only work with shinyEvents
Description: Some shiny widgets that only work with shinyEvents
Authors: Sebastian Kranz
Maintainer: Sebastian Kranz <[email protected]>
License: GPL >= 2.0
Version: 0.1.1
Built: 2024-09-13 02:39:38 UTC
Source: https://github.com/skranz/shinyEventsUI

Help Index


Header for jqueryContextMenu

Description

Header for jqueryContextMenu

Usage

contextMenuHeader(...)

fancytree

Description

fancytree

Usage

fancytree(
  id,
  source = NULL,
  ...,
  theme = "win8",
  add.header = TRUE,
  extensions = "",
  auto_unbox = TRUE
)

Header for fancytree

Description

Header for fancytree

Usage

fancytreeHeader(
  ...,
  extensions = NULL,
  theme = "win8",
  add.filetree.js = TRUE,
  add.context.menu = FALSE
)

Header for jqueryContextMenu

Description

Header for jqueryContextMenu

Usage

handsontableHeader(...)

A div that is by default not shown

Description

A div that is by default not shown

Usage

hidden_div(id, ..., style = "")

A simple image player for animations

Description

you can create svg images from multiple plots with record.svg.plots

Usage

html.image.animation.player(
  container.id,
  base.name = NULL,
  image.files = NULL,
  extension = "svg",
  images.dir = file.path(getwd(), "images"),
  loop.mode = c("none", "loop", "sweep")[1],
  delay = 250,
  add.container = TRUE
)

A jqueryLayoutPage

Description

A jqueryLayoutPage

Usage

jqueryLayoutHeader(style = NULL)

A jqueryLayoutPage

Description

A jqueryLayoutPage

Usage

jqueryLayoutPage(
  ...,
  id = "mainPane",
  center = NULL,
  north = NULL,
  west = NULL,
  east = NULL,
  south = NULL,
  panes = list(center = center, north = north, west = west, east = east, south = south),
  json.opts = "",
  style = NULL
)

A jqueryLayoutPage

Description

A jqueryLayoutPage

Usage

jqueryLayoutPanes(
  id = NULL,
  center = NULL,
  north = NULL,
  west = NULL,
  east = NULL,
  south = NULL,
  panes = list(north = north, west = west, center = center, east = east, south = south),
  json.opts = "",
  style = NULL,
  js.do.layout = TRUE,
  parent = "body",
  parent.layout = NULL,
  parent.pane = "center"
)

Nested select menus that show associated div elements

Description

Nested select menus that show associated div elements

Usage

nestedSelector(
  id,
  selectors,
  label = "",
  show.first = TRUE,
  input.type = c("radioBtnGroup", "select")[1],
  btn.size = "sm",
  selector.par = list(),
  scroll.top.sel = NULL
)

Add a change handler to a nested selector

Description

Add a change handler to a nested selector

Usage

nestedSelectorHandler(id, fun, ..., app = getApp())

Value

value a list with the values of all shown selector parts


A button group that acts like a radio button group

Description

use radioBtnGroupHandler to add a handler for a value change

Usage

radioBtnGroup(
  id,
  labels,
  values = seq_along(labels),
  handler = NULL,
  div.style = "",
  div.extra.class = "",
  btn.size = "xs",
  btn.style = "",
  panes = show.hide.containers,
  show.hide.containers = NULL,
  ...
)

Add change hangdler to a radio button group

Description

Add change hangdler to a radio button group

Usage

radioBtnGroupHandler(
  id,
  fun,
  ...,
  eventId = "radioBtnGroupChange",
  app = getApp()
)

Value

value the value of the selected button


Resize a jqueryLayout. May be useful if inner html has been dynamically changed and we have size="auto"

Description

Resize a jqueryLayout. May be useful if inner html has been dynamically changed and we have size="auto"

Usage

resizeLayout(id, layout.var = paste0(id, "LayoutVar"))

show a message in some outputUI for duration of millis milliseconds

Description

show a message in some outputUI for duration of millis milliseconds

Usage

timedMessage(
  id,
  msg = "",
  html = msg,
  ui = HTML(html),
  millis = 3000,
  empty.msg = "",
  empty.ui = HTML(empty.msg),
  app = getApp()
)

Header for jqueryContextMenu

Description

Header for jqueryContextMenu

Usage

uiContextMenuHeader(...)

Change selected button of a radion button group

Description

use radioBtnGroupHandler to add a handler for a value change

Usage

updateRadioBtnGroup(session = app$session, id, value, app = getApp())

Header for w2ui widgets

Description

Header for w2ui widgets

Usage

w2header(...)

Sidebar. See w2ui docs

Description

Sidebar. See w2ui docs

Usage

w2sidebar(
  id,
  img = NULL,
  nodes = NULL,
  ...,
  width = "100%",
  height = "100%",
  js.on.render = "",
  add.header = TRUE
)

Tabs. See w2ui docs

Description

Tabs. See w2ui docs

Usage

w2tabs(id, active = 1, tabs = NULL, js.on.render = NULL, add.header = TRUE)

Arguments

id

the id of the whole tabset

active

the index of the initially shown tab

tabs

a list of tabs each tab is itself a list. Example: tabs=list(list(id="newTab",caption="New Tab", div_id="tab4div", closable=TRUE, keep_closed_content=FALSE)))

  • id - the id of the tab

  • caption - the caption shown on the tab

  • div_id - the id of the div that contains the tab content

  • closable - if TRUE the tab can be closed by pressing on an "x" icon

  • keep_closed_content if FALSE (default) the tab div with div_id will be removed when the tab is closed. If TRUE the div will only be hidden.


Add a w2ui tab

Description

Add a w2ui tab

Usage

w2tabs.add(id, tabs = list(tab), tab, select = TRUE)

Close a w2ui tab

Description

Close a w2ui tab

Usage

w2tabs.close(id, tabId, destroy.content = FALSE)

Toolbar or menubar. See w2ui docs

Description

Toolbar or menubar. See w2ui docs

Usage

w2toolbar(id, items = NULL, js.on.render = NULL, add.header = TRUE)