Skip to content

Commit 94348ac

Browse files
committed
Replace set_page() with page_opts()
1 parent c03f684 commit 94348ac

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

tests/playwright/shiny/shiny-express/accordion/__init__.py

Whitespace-only changes.

tests/playwright/shiny/shiny-express/page_fillable/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from shiny import render
22
from shiny.express import input, ui
33

4-
ui.set_page(ui.page_fillable())
4+
ui.page_opts(fillable=True)
55

66
with ui.card(id="card"):
77
ui.input_slider("a", "A", 1, 100, 50)

tests/playwright/shiny/shiny-express/page_fluid/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from shiny import render
22
from shiny.express import input, ui
33

4-
ui.set_page(ui.page_fluid())
4+
ui.page_opts(full_width=True)
55

66
with ui.card(id="card"):
77
ui.input_slider("a", "A", 1, 100, 50)

tests/playwright/shiny/shiny-express/page_sidebar/__init__.py

Whitespace-only changes.

tests/playwright/shiny/shiny-express/page_sidebar/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from shiny import render
22
from shiny.express import input, ui
33

4-
ui.set_page(ui.page_sidebar(title="PageTitle"))
4+
ui.page_opts(title="PageTitle")
55

66
with ui.sidebar(id="sidebar", title="SidebarTitle"):
77
"Sidebar Content"

0 commit comments

Comments
 (0)