BaseSelectPluginComponent
- class jdaviz.core.template_mixin.BaseSelectPluginComponent(**kwargs)[source] [edit on github]
Bases:
jdaviz.core.template_mixin.BasePluginComponent,traitlets.traitlets.HasTraitsThis base class extends BasePluginComponent for common functionality for a select/dropdown component. The subclasses MUST have an
itemstraitlet as a list of dictionaries, with ‘label’ as the selection entry (and any other optional entries for styling, etc) and aselectedstring traitlet. The subclasses should also overrideselected_objand may choose to override_selected_changed(likely with a super call to keep the base logic).Attributes Summary
An instance of a Python list.
Methods Summary
add_filter(*filters)Attributes Documentation
- cached_properties
- default_mode
- filters
An instance of a Python list.
- labels
- manual_options
- selected_item
- selected_obj
- viewer_dicts
- viewer_ids
- viewer_refs
- viewers
Methods Documentation
- add_filter(*filters)[source] [edit on github]