compartmentSelector

Add a dropdown that selects the compartment to show: the selected compartment is expanded, all others are collapsed. Uses the compartment-selector class. Can be called at most once.