Skip to content

select

select(opts): void

Defined in: components/select.ts:38

A single-select dropdown backed by a native <select> element. Looks like the other Staffa inputs but delegates all focus management, keyboard navigation, and mobile-native picker behaviour to the browser.

SelectOptions

void

const $sel = A.proxy("Netherlands");
S.select({ label: "Country", options: ["Belgium", "Netherlands"], bind: $sel });