@@ -80,9 +80,9 @@ def multiview_server(
80
80
) -> Tuple [MultiViewMount , Server [_App ]]:
81
81
"""Set up a server where views can be dynamically added.
82
82
83
- In other words this allows the user to work with IDOM in an imperative manner.
84
- Under the hood this uses the :func:`idom.widgets.common. multiview` function to
85
- add the views on the fly.
83
+ In other words this allows the user to work with IDOM in an imperative manner. Under
84
+ the hood this uses the :func:`idom.widgets.multiview` function to add the views on
85
+ the fly.
86
86
87
87
Parameters:
88
88
server: The server type to start up as a daemon
@@ -93,8 +93,8 @@ def multiview_server(
93
93
app: Optionally provide a prexisting application to register to
94
94
95
95
Returns:
96
- The server instance and a function for adding views.
97
- See :func:`idom.widgets.common .multiview` for details.
96
+ The server instance and a function for adding views. See
97
+ :func:`idom.widgets.multiview` for details.
98
98
"""
99
99
mount , component = multiview ()
100
100
@@ -123,9 +123,9 @@ def hotswap_server(
123
123
) -> Tuple [MountFunc , Server [_App ]]:
124
124
"""Set up a server where views can be dynamically swapped out.
125
125
126
- In other words this allows the user to work with IDOM in an imperative manner.
127
- Under the hood this uses the :func:`idom.widgets.common. hotswap` function to
128
- swap the views on the fly.
126
+ In other words this allows the user to work with IDOM in an imperative manner. Under
127
+ the hood this uses the :func:`idom.widgets.hotswap` function to swap the views on
128
+ the fly.
129
129
130
130
Parameters:
131
131
server: The server type to start up as a daemon
@@ -137,8 +137,8 @@ def hotswap_server(
137
137
sync_views: Whether to update all displays with newly mounted components
138
138
139
139
Returns:
140
- The server instance and a function for swapping views.
141
- See :func:`idom.widgets.common .hotswap` for details.
140
+ The server instance and a function for swapping views. See
141
+ :func:`idom.widgets.hotswap` for details.
142
142
"""
143
143
mount , component = hotswap (update_on_change = sync_views )
144
144
0 commit comments