-
Notifications
You must be signed in to change notification settings - Fork 43
Home
maju116 edited this page Jan 3, 2018
·
4 revisions
Add unit tests for checking functions in sematcic.dashboard and shinydashboard.
Implemented from shinydashboard:
box sidebarMenu dashboardBody dashboardHeader dashboardPage dashboardSidebar menuItem menuSubItem renderValueBox tabItem tabItems valueBox valueBoxOutput dropdownMenu dropdownMenuOutput infoBox infoBoxOutput messageItem notificationItem renderDropdownMenu renderInfoBox tabBox taskItem
Not implemented from shinydashboard:
menuItemOutput
renderMenu
sidebarMenuOutput
sidebarSearchForm
sidebarUserPanel
updateTabItems
Arguments:
| fun | common | only_shiny | only_semantic |
|---|---|---|---|
| box | ..., title, width, collapsible | footer, status, solidHeader, background, height, collapsed | color, ribbon, title_side |
| dashboardBody | ... | ||
| dashboardHeader | ..., disable | title, titleWidth, .list | color |
| dashboardPage | header, sidebar, body, title | skin | suppress_bootstrap |
| dashboardSidebar | ..., disable | width, collapsed | side, size, color, center, visible |
| dropdownMenu | ..., type, icon | badgeStatus, headerText, .list | |
| dropdownMenuOutput | outputId | ||
| infoBox | value, subtitle, icon, color, width | title, href, fill | |
| infoBoxOutput | outputId, width | ||
| menuItem | text, ..., icon, tabName, href, newtab | badgeLabel, badgeColor, selected, expandedName, startExpanded | |
| menuSubItem | text, tabName, href, newtab, icon | selected | ... |
| messageItem | from, message, icon | time, href | color |
| notificationItem | text, icon | status, href | color |
| renderDropdownMenu | expr, env, quoted | ||
| renderInfoBox | expr, env, quoted | ||
| renderValueBox | expr, env, quoted | ||
| sidebarMenu | ... | id, .list | |
| tabBox | title, width | ..., id, selected, height, side | tabs, color, ribbon, title_side, collapsible |
| tabItem | tabName, ... | ||
| tabItems | ... | selected | |
| taskItem | text, value, color | href | |
| valueBox | value, subtitle, icon, color, width | href | |
| valueBoxOutput | outputId, width |