UNPKG

@tempots/dom

Version:

Fully-typed frontend framework alternative to React and Angular

56 lines (55 loc) 1.55 kB
/** * Represents a collection of ARIA attributes and their corresponding types. * * @public */ export type AriaAttributes = { activedescendant: string; atomic: boolean; autocomplete: 'none' | 'inline' | 'list' | 'both'; busy: boolean; checked: boolean | 'mixed' | 'false' | 'true'; colcount: number; colindex: number; colspan: number; controls: string; current: string; describedby: string; details: string; disabled: boolean; dropeffect: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup'; errormessage: string; expanded: boolean | 'false' | 'true'; flowto: string; grabbed: boolean | 'false' | 'true'; haspopup: boolean; hidden: boolean; invalid: boolean | 'grammar' | 'false' | 'spelling' | 'true'; keyshortcuts: string; label: string; labelledby: string; level: number; live: 'off' | 'assertive' | 'polite'; modal: boolean; multiline: boolean; multiselectable: boolean; orientation: 'horizontal' | 'vertical'; owns: string; placeholder: string; posinset: number; pressed: boolean | 'mixed' | 'false' | 'true'; readonly: boolean; relevant: 'additions' | 'removals' | 'text' | 'all'; required: boolean; roledescription: string; rowcount: number; rowindex: number; rowspan: number; selected: boolean; setsize: number; sort: 'none' | 'ascending' | 'descending' | 'other'; valuemax: number; valuemin: number; valuenow: number; valuetext: string; };