@@ -88,16 +88,15 @@ class Renderer(Generic[IT]):
88
88
used!)
89
89
90
90
There are two methods that must be implemented by the subclasses:
91
- `.auto_output_ui(self, id: str)` and either `.transform(self, value: IT)` or
92
- `.render(self)`.
91
+ `.auto_output_ui(self)` and either `.transform(self, value: IT)` or `.render(self)`.
93
92
94
93
* In Express mode, the output renderer will automatically render its UI via
95
- `.auto_output_ui(self, id: str )`. This helper method allows App authors to skip
96
- adding a `ui.output_*` function to their UI, making Express mode even more
97
- concise. If more control is needed over the UI, `@ui.hold` can be used to suppress
98
- the auto rendering of the UI. When using `@ui.hold` on a renderer, the renderer's
99
- UI will need to be added to the app to connect the rendered output to Shiny's
100
- reactive graph.
94
+ `.auto_output_ui(self)`. This helper method allows App authors to skip adding a
95
+ `ui.output_*` function to their UI, making Express mode even more concise. If more
96
+ control is needed over the UI, `@ui.hold` can be used to suppress the auto
97
+ rendering of the UI. When using `@ui.hold` on a renderer, the renderer's UI will
98
+ need to be added to the app to connect the rendered output to Shiny's reactive
99
+ graph.
101
100
* The `render` method is responsible for executing the value function and performing
102
101
any transformations for the output value to be JSON-serializable (`None` is a
103
102
valid value!). To avoid the boilerplate of resolving the value function and
0 commit comments