File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,11 @@ quartodoc:
144
144
- express.ui.panel_fixed
145
145
- express.ui.panel_title
146
146
- express.ui.panel_well
147
+ - title : Uploads & downloads
148
+ desc : Allow users to upload and download files.
149
+ contents :
150
+ - express.ui.input_file
151
+ - express.render.download
147
152
- title : Dynamic UI
148
153
desc : Dynamically show/hide UI elements.
149
154
contents :
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class express(Renderer[None]):
24
24
This is similar to :class:`~shiny.render.ui`, except that :class:`~shiny.render.ui`
25
25
uses the return value from the the decorated function, whereas this function works
26
26
like Shiny Express: as it executes each line of the decorated function, it calls
27
- :func:`~sys.displayhook()` on the result. This has the effet of "capturing" the
27
+ :func:`~sys.displayhook()` on the result. This has the effect of "capturing" the
28
28
output of each line.
29
29
30
30
Returns
Original file line number Diff line number Diff line change @@ -575,6 +575,13 @@ class ui(Renderer[TagChild]):
575
575
"""
576
576
Reactively render HTML content.
577
577
578
+ Note: If you want to write your function with Shiny Express syntax, where the UI
579
+ components are automatically captured as the code is evaluated, use
580
+ :func:`~shiny.express.render.express` instead of this function.
581
+
582
+ This function is used to render HTML content, but it requires that the funciton
583
+ returns the content, using Shiny Core syntax.
584
+
578
585
Returns
579
586
-------
580
587
:
@@ -589,6 +596,8 @@ class ui(Renderer[TagChild]):
589
596
590
597
See Also
591
598
--------
599
+ * :func:`~shiny.express.render.express`
600
+ * :func:`~shiny.express.expressify`
592
601
* :func:`~shiny.ui.output_ui`
593
602
"""
594
603
You can’t perform that action at this time.
0 commit comments