reno.explorer.BetterAccordion#
- class reno.explorer.BetterAccordion(*, child, label, loading, align, aspect_ratio, css_classes, design, height, height_policy, margin, max_height, max_width, min_height, min_width, sizing_mode, styles, stylesheets, tags, visible, width, width_policy, name)#
Bases:
JSComponentSimple collapsible accordion, for use in left meta sidebar ‘file explorer’
Methods
__init__(**params)clone(**params)Makes a copy of the object sharing the same parameters.
controls([parameters, jslink])Creates a set of widgets which allow manipulating the parameters on this instance.
embed([max_states, max_opts, json, ...])Renders a static version of a panel in a notebook by evaluating the set of states defined by the widgets in the model.
get_root([doc, comm, preprocess])Returns the root model and applies pre-processing hooks
jscallback([args])Allows defining a JS callback to be triggered when a property changes on the source object.
jslink(target[, code, args, bidirectional])Links properties on the this Reactive object to those on the target Reactive object in JS code.
link(target[, callbacks, bidirectional])Links the parameters on this Reactive object to attributes on the target Parameterized object.
on_event(event, callback)Registers a callback to be executed when the specified DOM event is triggered.
on_msg(callback)Registers a callback to be executed when a message event containing arbitrary data is received.
save(filename[, title, resources, template, ...])Saves Panel objects to file.
select([selector])Iterates over the Viewable and any potential children in the applying the Selector.
servable([title, location, area, target])Serves the object or adds it to the configured pn.state.template if in a panel serve context, writes to the DOM if in a pyodide context and returns the Panel object to allow it to display itself in a notebook context.
server_doc([doc, title, location])Returns a serveable bokeh Document with the panel attached
show([title, port, address, ...])Starts a Bokeh server and displays the Viewable in a new tab.
Attributes
alignaspect_ratiocss_classesdesignheightheight_policyloadingmarginmax_heightmax_widthmin_heightmin_widthparamsizing_modestylesstylesheetstagsvisiblewidthwidth_policy- __module__ = 'reno.explorer'#
- __original_doc__ = "Simple collapsible accordion, for use in left meta sidebar 'file explorer'"#
- child = None#
- label = ''#
- name = 'BetterAccordion'#