ViewerSelectCreateNew#
- class jdaviz.core.template_mixin.ViewerSelectCreateNew(**kwargs: Any)[source]#
Bases:
ViewerSelectThis 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
Methods Summary
Apply and return the default selection.
Attributes Documentation
- user_api#
Methods Documentation