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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
Example
Section titled “Example”const $sel = A.proxy("Netherlands");S.select({ label: "Country", options: ["Belgium", "Netherlands"], bind: $sel });