Placeholder#
This component is also available in the classic reference.
The Placeholder pane serves as a placeholder for other Panel components. It can be used to display a message while a computation is running, for example.
Use pn.ui.Placeholder to create this component.
API#
.. py:class:: Placeholder(object=None, **params) :module: panel.pane.placeholder
The Placeholder pane serves as a placeholder for other Panel components.
It can be used to display a message while a computation is running, for
example.
Reference: https://panel.holoviz.org/reference/panes/Placeholder.html
:Example:
with Placeholder(”⏳ Idle”): … placeholder.object = “🏃 Running…”
.. rubric:: Methods
.. autosummary::
update
.. !! processed by numpydoc !!
Parameter Definitions
Parameters inherited from:
:class:`panel.viewable.Layoutable`: align, aspect_ratio, css_classes, design, height, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width, width_policy, height_policy, sizing_mode, visible
:class:`panel.viewable.Viewable`: loading
:class:`panel.pane.base.PaneBase`: margin, default_layout
:class:`panel.pane.base.ReplacementPane`: object, inplace, _pane
.. py:method:: Placeholder.update(object) :module: panel.pane.placeholder
Updates the object on the Placeholder.
:Parameters:
**object: The object to update the Placeholder with.**
..
..
!! processed by numpydoc !!