"The `ProxyWidget` widget allows for zero-or-one widgets to be placed inside it. Placing the widget inside itself has no effect.\n",
"The `ProxyWidget` widget allows for zero-or-one widgets to be placed inside it.\n",
"\n",
"\n",
"From the IHaskell perspective, this is similar to the `Output` widget, but supports only widgets inside it."
"From the IHaskell perspective, this is similar to the `Output` widget, but supports only widgets inside it."
]
]
...
@@ -197,6 +197,57 @@
...
@@ -197,6 +197,57 @@
"proxy"
"proxy"
]
]
},
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The `PlaceProxy` widget allows for more flexible use-cases involving arbitrary widgets. It is similar to `ProxyWidget`, but allows more control over where the widget is displayed.\n",
"\n",
"This widget can be used to display widgets inside markdown cells, among other places such as custom widgets or custom html elements. For example, we can create a html `div` inside this markdown cell, and cause the child widget to display in it using its CSS selector.\n",