Skip to content

Pinwheel

The pinwheel component.

Importing

ts
import "@tapsioss/web-components/pinwheel";
ts
import { Pinwheel } from "@tapsioss/react-components/Pinwheel";

Component Usage

html
<tapsi-pinwheel></tapsi-pinwheel>
tsx
<Pinwheel />

Properties

NameDescriptionTypeDefault Value
valueminDefines the minimum allowed value for pinwheel. Use it when your items' values are sequential numbers. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valueminstring""
valuemaxDefines the maximum allowed value for pinwheel. Use it when your items' values are sequential numbers. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuemaxstring""
labelDefines a string value that can be used to set a label for assistive technologies. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelstring""
labelledbyIdentifies the element (or elements) that labels the pinwheel. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledbystring""
autofocusIndicates that the element should be focused on page load. https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocusbooleanfalse

Events

NameDescriptionType
changeFires when the pinwheel selected state changes (Bubbles).Event