@@ -441,13 +441,6 @@ def card(
441
441
an opinionated height (e.g., :func:`~shiny.ui.page_fillable`).
442
442
class_
443
443
Additional CSS classes for the returned Tag.
444
- wrapper
445
- A function (which returns a UI element) to call on unnamed arguments in `*args`
446
- which are not already card item(s) (like :func:`~shiny.ui.card_header`,
447
- :func:`~shiny.experimental.ui.card_body`, etc.). Note that non-card items are
448
- grouped together into one `wrapper` call (e.g. given `card("a", "b",
449
- card_body("c"), "d")`, `wrapper` would be called twice, once with `"a"` and
450
- `"b"` and once with `"d"`).
451
444
**kwargs
452
445
HTML attributes on the returned Tag.
453
446
@@ -456,6 +449,15 @@ def card(
456
449
:
457
450
An :func:`~shiny.ui.tags.div` tag.
458
451
"""
452
+
453
+ # wrapper
454
+ # A function (which returns a UI element) to call on unnamed arguments in `*args`
455
+ # which are not already card item(s) (like :func:`~shiny.ui.card_header`,
456
+ # :func:`~shiny.experimental.ui.card_body`, etc.). Note that non-card items are
457
+ # grouped together into one `wrapper` call (e.g. given `card("a", "b",
458
+ # card_body("c"), "d")`, `wrapper` would be called twice, once with `"a"` and
459
+ # `"b"` and once with `"d"`).
460
+
459
461
return RecallContextManager (
460
462
ui .card ,
461
463
kwargs = dict (
@@ -587,8 +589,6 @@ def navset(
587
589
588
590
Parameters
589
591
----------
590
- *args
591
- A collection of nav items (e.g., :func:`shiny.ui.nav`).
592
592
type
593
593
The type of navset to render. Can be one of `"underline"`, `"pill"`, or `"tab"`.
594
594
id
@@ -602,6 +602,8 @@ def navset(
602
602
footer
603
603
UI to display below the selected content.
604
604
"""
605
+ # *args
606
+ # A collection of nav items (e.g., :func:`shiny.ui.nav`).
605
607
606
608
funcs = {
607
609
"underline" : ui .navset_underline ,
@@ -639,8 +641,6 @@ def navset_card(
639
641
640
642
Parameters
641
643
----------
642
- *args
643
- A collection of nav items (e.g., :func:`shiny.ui.nav`).
644
644
type
645
645
The type of navset to render. Can be one of `"underline"`, `"pill"`, or `"tab"`.
646
646
id
@@ -656,6 +656,8 @@ def navset_card(
656
656
footer
657
657
UI to display below the selected content.
658
658
"""
659
+ # *args
660
+ # A collection of nav items (e.g., :func:`shiny.ui.nav`).
659
661
660
662
funcs = {
661
663
"underline" : ui .navset_card_underline ,
@@ -860,8 +862,6 @@ def page_sidebar(
860
862
861
863
Parameters
862
864
----------
863
- sidebar
864
- Content to display in the sidebar.
865
865
title
866
866
A title to display at the top of the page.
867
867
fillable
@@ -884,6 +884,9 @@ def page_sidebar(
884
884
:
885
885
A UI element.
886
886
"""
887
+ # sidebar
888
+ # Content to display in the sidebar.
889
+
887
890
return RecallContextManager (
888
891
ui .page_sidebar ,
889
892
kwargs = dict (
0 commit comments