Class SingleSelect

All Implemented Interfaces:
Attachable, ElementAttributeMethods<HTMLElement, SingleSelect>, ElementClassListMethods<HTMLElement, SingleSelect>, ElementConsumerMethods<HTMLElement, SingleSelect>, ElementContainerMethods<HTMLElement, SingleSelect>, ElementEventMethods<HTMLElement, SingleSelect>, ElementIdMethods<HTMLElement, SingleSelect>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, SingleSelect>, HTMLElementDataMethods<HTMLElement, SingleSelect>, HTMLElementStyleMethods<HTMLElement, SingleSelect>, HTMLElementVisibilityMethods<HTMLElement, SingleSelect>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, SingleSelect>, Component, Expandable<HTMLElement, SingleSelect>, Modifiers.Disabled<HTMLElement, SingleSelect>

public class SingleSelect extends ComponentDelegate<HTMLElement, SingleSelect>
A select component to select exactly one item from a list.

This implementation uses the Popover API and CSS anchor positioning instead of Popper.js. The select uses the browser's top-layer rendering for correct stacking, eliminating z-index issues. CSS position-try-fallbacks handles menu flipping when there is not enough space.

See Also: