@ibyar/elements
Version:
Ibyar elements, hold info about HTMLElements class, attributes and tag name
78 lines • 2.79 kB
TypeScript
import { AriaErrorMessageElement } from './relationship.js';
export type AriaAutocomplete = 'none' | 'inline' | 'list' | 'booth';
export type AriaChecked = true | false | undefined | 'mixed';
export type AriaDisabled = boolean;
export type AriaExpanded = boolean | undefined;
export type AriaHasPopup = boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
export type AriaHidden = boolean | undefined;
export type AriaInvalid = 'grammar' | 'spelling' | boolean;
export type AriaLabel = string;
export type AriaLevel = number;
export type AriaModal = boolean;
export type AriaMultiline = boolean;
export type AriaMultiSelectable = boolean;
export type AriaOrientation = 'horizontal' | 'vertical';
export type AriaPlaceholder = string;
export type AriaPressed = boolean | 'mixed' | undefined;
export type AriaReadonly = boolean;
export type AriaRequired = boolean;
export type AriaSelected = boolean | undefined;
export type AriaSort = 'ascending' | 'descending' | 'none' | 'other';
export type AriaValueMax = number;
export type AriaValueMin = number;
export type AriaValueNow = number;
export type AriaValueText = string;
export interface WidgetModel {
ariaAutocomplete: AriaAutocomplete;
ariaChecked: AriaChecked;
ariaDisabled: AriaDisabled;
ariaErrorMessageElement: AriaErrorMessageElement;
ariaExpanded: AriaExpanded;
ariaHasPopup: AriaHasPopup;
ariaHidden: AriaHidden;
ariaInvalid: AriaInvalid;
ariaLabel: AriaLabel;
ariaLevel: AriaLevel;
ariaModal: AriaModal;
ariaMultiline: AriaMultiline;
ariaMultiSelectable: AriaMultiSelectable;
ariaOrientation: AriaOrientation;
ariaPlaceholder: AriaPlaceholder;
ariaPressed: AriaPressed;
ariaReadonly: AriaReadonly;
ariaRequired: AriaRequired;
ariaSelected: AriaSelected;
ariaSort: AriaSort;
ariaValueMax: AriaValueMax;
ariaValueMin: AriaValueMin;
ariaValueNow: AriaValueNow;
ariaValueText: AriaValueText;
}
export declare const WidgetAttributes: string[];
export declare const WidgetAttributesMap: {
'aria-autocomplete': string;
'aria-checked': string;
'aria-disabled': string;
'aria-errormessage': string;
'aria-expanded': string;
'aria-haspopup': string;
'aria-hidden': string;
'aria-invalid': string;
'aria-label': string;
'aria-level': string;
'aria-modal': string;
'aria-multiline': string;
'aria-multiselectable': string;
'aria-orientation': string;
'aria-placeholder': string;
'aria-pressed': string;
'aria-readonly': string;
'aria-required': string;
'aria-selected': string;
'aria-sort': string;
'aria-valuemax': string;
'aria-valuemin': string;
'aria-valuenow': string;
'aria-valuetext': string;
};
//# sourceMappingURL=widget.d.ts.map