We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca8a2a commit 4f84f8fCopy full SHA for 4f84f8f
inst/examples/examples_shiny.R
@@ -0,0 +1,20 @@
1
+#devtools::install_github("timelyportfolio/reactR@enhancements")
2
+#devtools::install_github("timelyportfolio/roffice")
3
+
4
+library(reactR)
5
+library(roffice)
6
+library(shiny)
7
8
+#options(shiny.trace = TRUE)
9
+ui <- officeuiwidgetOutput("me")
10
11
+server <- function(input, output, session) {
12
+ # slider with just one prop and some Shiny
13
+ output$me <- renderOfficeuiwidget({
14
+ officeuiwidget(
15
+ reactR::React$Slider(label = "Basic Slider", shiny = "onChange")
16
+ )
17
+ })
18
+}
19
20
+shinyApp(ui, server)
0 commit comments