Skip to main content

Selector

A custom selector web component for BIM applications. HTML tag: bim-selector

Extends

  • LitElement

Implements

Properties

variant?

optional variant: "underline"

Sets the visual variant of the selector.

  • undefined (default): Filled animated background behind the active option.
  • "underline": No background; the active option gets an accent-colored bottom border and text, while inactive options are muted.

styles

static styles: CSSResult

CSS styles for the component.

Overrides

LitElement.styles

Accessors

value

set value(value): void

Sets the value of the selector. It finds the matching option based on the provided value and sets it as the selected option. If no matching option is found, it does nothing.

Parameters

ParameterTypeDescription
valueanyThe value to set for the selector.