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 a577ab7 commit 18d6d9cCopy full SHA for 18d6d9c
shiny/module.py
@@ -29,6 +29,8 @@ def ui(fn: Callable[P, R]) -> Callable[Concatenate[str, P], R]:
29
"""Decorator for defining a Shiny module UI function.
30
31
This decorator allows you to write the UI portion of a Shiny module.
32
+ When your decorated `ui` function is called with an `id`,
33
+ the UI elements defined within will automatically be namespaced using that `id`.
34
This enables reuse of UI components and consistent input/output handling
35
when paired with a `@module.server` function.
36
0 commit comments