ViewerSelectCreateNew#

class jdaviz.core.template_mixin.ViewerSelectCreateNew(**kwargs: Any)[source]#

Bases: ViewerSelect

This 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

Methods Summary

select_default()

Apply and return the default selection.

Attributes Documentation

user_api#

Methods Documentation

select_default()[source]#

Apply and return the default selection.