ReactiveExpr#

This component is also available in the classic reference.

ReactiveExpr generates a UI for param.rx objects by rendering the widgets and outputs.

Use pn.ui.ReactiveExpr to create this component.

API#

.. py:class:: ReactiveExpr(object=None, **params) :module: panel.param

ReactiveExpr generates a UI for param.rx objects by rendering the widgets and outputs.

:Attributes:

   **object**
       ..

   **widgets**
       ..

.. rubric:: Methods

.. autosummary::

  applies
  widget_layout

.. !! 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

object = Parameter(allow_None=True, label='Object')

    The object being wrapped, which will be converted to a
    Bokeh model.

center = Boolean(default=False, label='Center')

    Whether to center the output.

show_widgets = Boolean(default=True, label='Show widgets')

    Whether to display the widget inputs.

widget_layout = ClassSelector(class_=<class 'panel.layout.base.ListLike'>, constant=True, default=<class 'panel.layout.base.WidgetBox'>, label='Widget layout')

    The layout object to display the widgets in.

widget_location = Selector(default='left_top', label='Widget location', names={}, objects=['left', 'right', 'top', 'bottom', 'top_left', 'top_right', 'bottom_left', 'bottom_right', 'left_top', 'right_top', 'right_bottom'])

    The location of the widgets relative to the output
    of the reactive expression.

.. py:method:: ReactiveExpr.applies(object) :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 !!

.. py:attribute:: ReactiveExpr.widget_layout :module: panel.param

  alias of :py:class:`~panel.layout.base.WidgetBox`