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-11-12 02:39:34 UTC |
Source: | https://github.com/skranz/shinyEventsUI |
Header for jqueryContextMenu
contextMenuHeader(...)
contextMenuHeader(...)
fancytree
fancytree( id, source = NULL, ..., theme = "win8", add.header = TRUE, extensions = "", auto_unbox = TRUE )
fancytree( id, source = NULL, ..., theme = "win8", add.header = TRUE, extensions = "", auto_unbox = TRUE )
Header for fancytree
fancytreeHeader( ..., extensions = NULL, theme = "win8", add.filetree.js = TRUE, add.context.menu = FALSE )
fancytreeHeader( ..., extensions = NULL, theme = "win8", add.filetree.js = TRUE, add.context.menu = FALSE )
Header for jqueryContextMenu
handsontableHeader(...)
handsontableHeader(...)
you can create svg images from multiple plots with record.svg.plots
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 )
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
jqueryLayoutHeader(style = NULL)
jqueryLayoutHeader(style = NULL)
A jqueryLayoutPage
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 )
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
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" )
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
nestedSelector( id, selectors, label = "", show.first = TRUE, input.type = c("radioBtnGroup", "select")[1], btn.size = "sm", selector.par = list(), scroll.top.sel = NULL )
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
nestedSelectorHandler(id, fun, ..., app = getApp())
nestedSelectorHandler(id, fun, ..., app = getApp())
value a list with the values of all shown selector parts
use radioBtnGroupHandler to add a handler for a value change
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, ... )
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
radioBtnGroupHandler( id, fun, ..., eventId = "radioBtnGroupChange", app = getApp() )
radioBtnGroupHandler( id, fun, ..., eventId = "radioBtnGroupChange", app = getApp() )
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"
resizeLayout(id, layout.var = paste0(id, "LayoutVar"))
resizeLayout(id, layout.var = paste0(id, "LayoutVar"))
show a message in some outputUI for duration of millis milliseconds
timedMessage( id, msg = "", html = msg, ui = HTML(html), millis = 3000, empty.msg = "", empty.ui = HTML(empty.msg), app = getApp() )
timedMessage( id, msg = "", html = msg, ui = HTML(html), millis = 3000, empty.msg = "", empty.ui = HTML(empty.msg), app = getApp() )
Header for jqueryContextMenu
uiContextMenuHeader(...)
uiContextMenuHeader(...)
use radioBtnGroupHandler to add a handler for a value change
updateRadioBtnGroup(session = app$session, id, value, app = getApp())
updateRadioBtnGroup(session = app$session, id, value, app = getApp())
Sidebar. See w2ui docs
w2sidebar( id, img = NULL, nodes = NULL, ..., width = "100%", height = "100%", js.on.render = "", add.header = TRUE )
w2sidebar( id, img = NULL, nodes = NULL, ..., width = "100%", height = "100%", js.on.render = "", add.header = TRUE )
Tabs. See w2ui docs
w2tabs(id, active = 1, tabs = NULL, js.on.render = NULL, add.header = TRUE)
w2tabs(id, active = 1, tabs = NULL, js.on.render = NULL, add.header = TRUE)
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)))
|
Add a w2ui tab
w2tabs.add(id, tabs = list(tab), tab, select = TRUE)
w2tabs.add(id, tabs = list(tab), tab, select = TRUE)
Close a w2ui tab
w2tabs.close(id, tabId, destroy.content = FALSE)
w2tabs.close(id, tabId, destroy.content = FALSE)
Toolbar or menubar. See w2ui docs
w2toolbar(id, items = NULL, js.on.render = NULL, add.header = TRUE)
w2toolbar(id, items = NULL, js.on.render = NULL, add.header = TRUE)