BaseSelectPluginComponent

class jdaviz.core.template_mixin.BaseSelectPluginComponent(*args, **kwargs)[source] [edit on github]

Bases: jdaviz.core.template_mixin.BasePluginComponent

This base class extends BasePluginComponent for common functionality for a select/dropdown component. The subclasses MUST have an items traitlet as a list of dictionaries, with ‘label’ as the selection entry (and any other optional entries for styling, etc) and a selected string traitlet. The subclasses should also override selected_obj and may choose to override _selected_changed (likely with a super call to keep the base logic).

Attributes Summary

cached_properties

default_mode

labels

manual_options

selected_item

selected_obj

viewer_dicts

viewer_ids

viewer_refs

viewers

Attributes Documentation

cached_properties
default_mode = 'empty'
labels
manual_options
selected_item
selected_obj
viewer_dicts
viewer_ids
viewer_refs
viewers