BaseSelectPluginComponent
- class jdaviz.core.template_mixin.BaseSelectPluginComponent(**kwargs: Any)[source] [edit on github]
Bases:
BasePluginComponent
,HasTraits
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 aselected
string traitlet. The subclasses should also overrideselected_obj
and 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
- default_text
- filters
An instance of a Python list.
- is_multiselect
- labels
- manual_options
- selected_item
- selected_obj
- viewer_dicts
- viewer_ids
- viewer_refs
- viewers
Methods Documentation
- add_filter(*filters)[source] [edit on github]