-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
accessibilityBuiltin ARIA patterns and best practicesBuiltin ARIA patterns and best practicesenhancementNew feature or requestNew feature or request
Description
export const count = num.u8()
/** @example html```
<button ~
@click=increment
#text=count
>0</button>
```
will set `aria-busy=true` for 3s until the value change
*/ export function increment() {
count.set(it => it + 1, { delay: 3*s })
}Why make it builtin?
I'm thinking to make every accessibility feature be builtin into the framework. So this one is the first step towards that.
Metadata
Metadata
Assignees
Labels
accessibilityBuiltin ARIA patterns and best practicesBuiltin ARIA patterns and best practicesenhancementNew feature or requestNew feature or request