ParamRef#
ParamRef wraps any valid parameter reference and resolves it dynamically, re-rendering the output. If enabled it will attempt to update the previously rendered component inplace.
Use pn.ui.ParamRef to create this component.
API#
.. py:class:: ParamRef(object=None, **params) :module: panel.param
ParamRef wraps any valid parameter reference and resolves it dynamically, re-rendering the output. If enabled it will attempt to update the previously rendered component inplace.
:Attributes:
**defer_load**
..
.. rubric:: Methods
.. autosummary::
applies
======== ==========
eval
======== ==========
.. !! 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
defer_load = Boolean(allow_None=True, label='Defer load')
Whether to defer load until after the page is rendered.
Can be set as parameter or by setting panel.config.defer_load.
generator_mode = Selector(default='replace', label='Generator mode', names={}, objects=['append', 'replace'])
Whether generators should 'append' to or 'replace' existing output.
lazy = Boolean(default=False, label='Lazy')
Whether to lazily evaluate the contents of the object
only when it is required for rendering.
loading_indicator = Boolean(default=False, label='Loading indicator')
Whether to show a loading indicator while the pane is updating.
Can be set as parameter or by setting panel.config.loading_indicator.
.. py:method:: ParamRef.applies(object: ~typing.Any) -> float | bool | None :module: panel.param :classmethod:
Returns boolean or float indicating whether the Pane
can render the object.
If the priority of the pane is set to
`None`, this method may also be used to define a float priority
depending on the object being rendered.
..
!! processed by numpydoc !!