UNPKG

54 kBTypeScriptView Raw
1declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2export interface ComponentDecorator {
3 (opts?: ComponentOptions): ClassDecorator;
4}
5export interface ComponentOptions {
6 /**
7 * Tag name of the web component. Ideally, the tag name must be globally unique,
8 * so it's recommended to choose an unique prefix for all your components within the same collection.
9 *
10 * In addition, tag name must contain a '-'
11 */
12 tag: string;
13 /**
14 * If `true`, the component will use scoped stylesheets. Similar to shadow-dom,
15 * but without native isolation. Defaults to `false`.
16 */
17 scoped?: boolean;
18 /**
19 * If `true`, the component will use native shadow-dom encapsulation, it will fallback to
20 * `scoped` if the browser does not support shadow-dom natively. Defaults to `false`.
21 * Additionally, `shadow` can also be given options when attaching the shadow root.
22 */
23 shadow?: boolean | ShadowRootOptions;
24 /**
25 * Relative URL to some external stylesheet file. It should be a `.css` file unless some
26 * external plugin is installed like `@stencil/sass`.
27 */
28 styleUrl?: string;
29 /**
30 * Similar as `styleUrl` but allows to specify different stylesheets for different modes.
31 */
32 styleUrls?: string[] | ModeStyles;
33 /**
34 * String that contains inlined CSS instead of using an external stylesheet.
35 * The performance characteristics of this feature are the same as using an external stylesheet.
36 *
37 * Notice, you can't use sass, or less, only `css` is allowed using `styles`, use `styleUrl` is you need more advanced features.
38 */
39 styles?: string | {
40 [modeName: string]: any;
41 };
42 /**
43 * Array of relative links to folders of assets required by the component.
44 */
45 assetsDirs?: string[];
46 /**
47 * @deprecated Use `assetsDirs` instead
48 */
49 assetsDir?: string;
50}
51export interface ShadowRootOptions {
52 /**
53 * When set to `true`, specifies behavior that mitigates custom element issues
54 * around focusability. When a non-focusable part of the shadow DOM is clicked, the first
55 * focusable part is given focus, and the shadow host is given any available `:focus` styling.
56 */
57 delegatesFocus?: boolean;
58}
59export interface ModeStyles {
60 [modeName: string]: string | string[];
61}
62export interface PropDecorator {
63 (opts?: PropOptions): PropertyDecorator;
64}
65export interface PropOptions {
66 /**
67 * The name of the associated DOM attribute.
68 * Stencil uses different heuristics to determine the default name of the attribute,
69 * but using this property, you can override the default behaviour.
70 */
71 attribute?: string | null;
72 /**
73 * A Prop is _by default_ immutable from inside the component logic.
74 * Once a value is set by a user, the component cannot update it internally.
75 * However, it's possible to explicitly allow a Prop to be mutated from inside the component,
76 * by setting this `mutable` option to `true`.
77 */
78 mutable?: boolean;
79 /**
80 * In some cases it may be useful to keep a Prop in sync with an attribute.
81 * In this case you can set the `reflect` option to `true`, since it defaults to `false`:
82 */
83 reflect?: boolean;
84 /** @deprecated: "attr" has been deprecated, please use "attribute" instead. */
85 attr?: string;
86 /** @deprecated "context" has been deprecated. */
87 context?: string;
88 /** @deprecated "connect" has been deprecated, please use ES modules and/or dynamic imports instead. */
89 connect?: string;
90 /** @deprecated "reflectToAttr" has been deprecated, please use "reflect" instead. */
91 reflectToAttr?: boolean;
92}
93export interface MethodDecorator {
94 (opts?: MethodOptions): CustomMethodDecorator<any>;
95}
96export interface MethodOptions {
97}
98export interface ElementDecorator {
99 (): PropertyDecorator;
100}
101export interface EventDecorator {
102 (opts?: EventOptions): PropertyDecorator;
103}
104export interface EventOptions {
105 /**
106 * A string custom event name to override the default.
107 */
108 eventName?: string;
109 /**
110 * A Boolean indicating whether the event bubbles up through the DOM or not.
111 */
112 bubbles?: boolean;
113 /**
114 * A Boolean indicating whether the event is cancelable.
115 */
116 cancelable?: boolean;
117 /**
118 * A Boolean value indicating whether or not the event can bubble across the boundary between the shadow DOM and the regular DOM.
119 */
120 composed?: boolean;
121}
122export interface ListenDecorator {
123 (eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
124}
125export interface ListenOptions {
126 /**
127 * Handlers can also be registered for an event other than the host itself.
128 * The `target` option can be used to change where the event listener is attached,
129 * this is useful for listening to application-wide events.
130 */
131 target?: ListenTargetOptions;
132 /**
133 * Event listener attached with `@Listen` does not "capture" by default,
134 * When a event listener is set to "capture", means the event will be dispatched
135 * during the "capture phase". Please see
136 * https://www.quirksmode.org/js/events_order.html for further information.
137 */
138 capture?: boolean;
139 /**
140 * By default, Stencil uses several heuristics to determine if
141 * it must attach a `passive` event listener or not.
142 *
143 * Using the `passive` option can be used to change the default behaviour.
144 * Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
145 */
146 passive?: boolean;
147}
148export declare type ListenTargetOptions = 'parent' | 'body' | 'document' | 'window';
149export interface StateDecorator {
150 (): PropertyDecorator;
151}
152export interface WatchDecorator {
153 (propName: string): CustomMethodDecorator<any>;
154}
155export interface UserBuildConditionals {
156 isDev: boolean;
157 isBrowser: boolean;
158 isServer: boolean;
159 isTesting: boolean;
160}
161/**
162 * The `Build` object provides many build conditionals that can be used to
163 * include or exclude code depending on the build.
164 */
165export declare const Build: UserBuildConditionals;
166/**
167 * The `@Component()` decorator is used to provide metadata about the component class.
168 * https://stenciljs.com/docs/component
169 */
170export declare const Component: ComponentDecorator;
171/**
172 * The `@Element()` decorator is a reference to the actual host element
173 * once it has rendered.
174 */
175export declare const Element: ElementDecorator;
176/**
177 * Components can emit data and events using the Event Emitter decorator.
178 * To dispatch Custom DOM events for other components to handle, use the
179 * `@Event()` decorator. The Event decorator also makes it easier for Stencil
180 * to automatically build types and documentation for the event data.
181 * https://stenciljs.com/docs/events
182 */
183export declare const Event: EventDecorator;
184/**
185 * The `Listen()` decorator is for listening DOM events, including the ones
186 * dispatched from `@Events()`.
187 * https://stenciljs.com/docs/events#listen-decorator
188 */
189export declare const Listen: ListenDecorator;
190/**
191 * The `@Method()` decorator is used to expose methods on the public API.
192 * Class methods decorated with the @Method() decorator can be called directly
193 * from the element, meaning they are intended to be callable from the outside.
194 * https://stenciljs.com/docs/methods
195 */
196export declare const Method: MethodDecorator;
197/**
198 * Props are custom attribute/properties exposed publicly on the element
199 * that developers can provide values for. Children components do not need to
200 * know about or reference parent components, so Props can be used to pass
201 * data down from the parent to the child. Components need to explicitly
202 * declare the Props they expect to receive using the `@Prop()` decorator.
203 * Any value changes to a Prop will cause a re-render.
204 * https://stenciljs.com/docs/properties
205 */
206export declare const Prop: PropDecorator;
207/**
208 * The `@State()` decorator can be used to manage internal data for a component.
209 * This means that a user cannot modify this data from outside the component,
210 * but the component can modify it however it sees fit. Any value changes to a
211 * `@State()` property will cause the components render function to be called again.
212 * https://stenciljs.com/docs/state
213 */
214export declare const State: StateDecorator;
215/**
216 * When a property's value has changed, a method decorated with `@Watch()` will be
217 * called and passed the new value of the prop along with the old value. Watch is
218 * useful for validating props or handling side effects. Watch decorator does not
219 * fire when a component initially loads.
220 * https://stenciljs.com/docs/reactive-data#watch-decorator
221 */
222export declare const Watch: WatchDecorator;
223/**
224 * `setMode()` is used for libraries which provide multiple "modes" for styles.
225 */
226export declare const setMode: (handler: ((elm: HTMLElement) => string | undefined | null)) => void;
227/**
228 * getMode
229 */
230export declare function getMode<T = (string | undefined)>(ref: any): T;
231/**
232 * getAssetPath
233 */
234export declare function getAssetPath(path: string): string;
235/**
236 * getElement
237 */
238export declare function getElement(ref: any): HTMLStencilElement;
239/**
240 * forceUpdate
241 */
242export declare function forceUpdate(ref: any): void;
243/**
244 * getRenderingRef
245 */
246export declare function getRenderingRef(): any;
247export interface HTMLStencilElement extends HTMLElement {
248 componentOnReady(): Promise<this>;
249 forceUpdate(): void;
250}
251/**
252 * writeTask
253 */
254export declare function writeTask(task: RafCallback): void;
255/**
256 * readTask
257 */
258export declare function readTask(task: RafCallback): void;
259/**
260 * This file gets copied to all distributions of stencil component collections.
261 * - no imports
262 */
263export interface ComponentWillLoad {
264 /**
265 * The component is about to load and it has not
266 * rendered yet.
267 *
268 * This is the best place to make any data updates
269 * before the first render.
270 *
271 * componentWillLoad will only be called once.
272 */
273 componentWillLoad(): Promise<void> | void;
274}
275export interface ComponentDidLoad {
276 /**
277 * The component has loaded and has already rendered.
278 *
279 * Updating data in this method will cause the
280 * component to re-render.
281 *
282 * componentDidLoad will only be called once.
283 */
284 componentDidLoad(): void;
285}
286export interface ComponentWillUpdate {
287 /**
288 * The component is about to update and re-render.
289 *
290 * Called multiple times throughout the life of
291 * the component as it updates.
292 *
293 * componentWillUpdate is not called on the first render.
294 */
295 componentWillUpdate(): Promise<void> | void;
296}
297export interface ComponentDidUpdate {
298 /**
299 * The component has just re-rendered.
300 *
301 * Called multiple times throughout the life of
302 * the component as it updates.
303 *
304 * componentWillUpdate is not called on the
305 * first render.
306 */
307 componentDidUpdate(): void;
308}
309export interface ComponentDidUnload {
310 /**
311 * The component did unload and the element
312 * will be destroyed.
313 */
314 componentDidUnload(): void;
315}
316export interface ComponentInterface {
317 connectedCallback?(): void;
318 disconnectedCallback?(): void;
319 componentWillRender?(): Promise<void> | void;
320 componentDidRender?(): void;
321 /**
322 * The component is about to load and it has not
323 * rendered yet.
324 *
325 * This is the best place to make any data updates
326 * before the first render.
327 *
328 * componentWillLoad will only be called once.
329 */
330 componentWillLoad?(): Promise<void> | void;
331 /**
332 * The component has loaded and has already rendered.
333 *
334 * Updating data in this method will cause the
335 * component to re-render.
336 *
337 * componentDidLoad will only be called once.
338 */
339 componentDidLoad?(): void;
340 /**
341 * The component is about to update and re-render.
342 *
343 * Called multiple times throughout the life of
344 * the component as it updates.
345 *
346 * componentWillUpdate is not called on the first render.
347 */
348 componentWillUpdate?(): Promise<void> | void;
349 /**
350 * The component has just re-rendered.
351 *
352 * Called multiple times throughout the life of
353 * the component as it updates.
354 *
355 * componentWillUpdate is not called on the
356 * first render.
357 */
358 componentDidUpdate?(): void;
359 render?(): any;
360 [memberName: string]: any;
361}
362/**
363 * General types important to applications using stencil built components
364 */
365export interface EventEmitter<T = any> {
366 emit: (data?: T) => CustomEvent<T>;
367}
368export interface RafCallback {
369 (timeStamp: number): void;
370}
371export interface QueueApi {
372 tick: (cb: RafCallback) => void;
373 read: (cb: RafCallback) => void;
374 write: (cb: RafCallback) => void;
375 clear?: () => void;
376 flush?: (cb?: () => void) => void;
377}
378/**
379 * Host
380 */
381interface HostAttributes {
382 class?: string | {
383 [className: string]: boolean;
384 };
385 style?: {
386 [key: string]: string | undefined;
387 };
388 ref?: (el: HTMLElement | null) => void;
389 [prop: string]: any;
390}
391export interface FunctionalUtilities {
392 forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
393 map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
394}
395export interface FunctionalComponent<T = {}> {
396 (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
397}
398export interface ChildNode {
399 vtag?: string | number | Function;
400 vkey?: string | number;
401 vtext?: string;
402 vchildren?: VNode[];
403 vattrs?: any;
404 vname?: string;
405}
406export declare const Host: FunctionalComponent<HostAttributes>;
407/**
408 * The "h" namespace is used to import JSX types for elements and attributes.
409 * It is imported in order to avoid conflicting global JSX issues.
410 */
411export declare namespace h {
412 function h(sel: any): VNode;
413 function h(sel: Node, data: VNodeData): VNode;
414 function h(sel: any, data: VNodeData): VNode;
415 function h(sel: any, text: string): VNode;
416 function h(sel: any, children: Array<VNode | undefined | null>): VNode;
417 function h(sel: any, data: VNodeData, text: string): VNode;
418 function h(sel: any, data: VNodeData, children: Array<VNode | undefined | null>): VNode;
419 function h(sel: any, data: VNodeData, children: VNode): VNode;
420 namespace JSX {
421 interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
422 [tagName: string]: any;
423 }
424 }
425}
426export interface VNode {
427 $flags$: number;
428 $tag$: string | number | Function;
429 $elm$: any;
430 $text$: string;
431 $children$: VNode[];
432 $attrs$?: any;
433 $name$?: string;
434 $key$?: string | number;
435}
436export interface VNodeData {
437 class?: {
438 [className: string]: boolean;
439 };
440 style?: any;
441 [attrName: string]: any;
442}
443declare namespace LocalJSX {
444 interface Element {
445 }
446 interface IntrinsicElements {
447 }
448}
449export { LocalJSX as JSX };
450export declare namespace JSXBase {
451 interface IntrinsicElements {
452 slot: JSXBase.SlotAttributes;
453 a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
454 abbr: JSXBase.HTMLAttributes;
455 address: JSXBase.HTMLAttributes;
456 area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
457 article: JSXBase.HTMLAttributes;
458 aside: JSXBase.HTMLAttributes;
459 audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
460 b: JSXBase.HTMLAttributes;
461 base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
462 bdi: JSXBase.HTMLAttributes;
463 bdo: JSXBase.HTMLAttributes;
464 big: JSXBase.HTMLAttributes;
465 blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
466 body: JSXBase.HTMLAttributes<HTMLBodyElement>;
467 br: JSXBase.HTMLAttributes<HTMLBRElement>;
468 button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
469 canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
470 caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
471 cite: JSXBase.HTMLAttributes;
472 code: JSXBase.HTMLAttributes;
473 col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
474 colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
475 data: JSXBase.HTMLAttributes<HTMLDataElement>;
476 datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
477 dd: JSXBase.HTMLAttributes;
478 del: JSXBase.DelHTMLAttributes<HTMLModElement>;
479 details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
480 dfn: JSXBase.HTMLAttributes;
481 dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
482 div: JSXBase.HTMLAttributes<HTMLDivElement>;
483 dl: JSXBase.HTMLAttributes<HTMLDListElement>;
484 dt: JSXBase.HTMLAttributes;
485 em: JSXBase.HTMLAttributes;
486 embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
487 fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
488 figcaption: JSXBase.HTMLAttributes;
489 figure: JSXBase.HTMLAttributes;
490 footer: JSXBase.HTMLAttributes;
491 form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
492 h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
493 h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
494 h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
495 h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
496 h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
497 h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
498 head: JSXBase.HTMLAttributes<HTMLHeadElement>;
499 header: JSXBase.HTMLAttributes;
500 hgroup: JSXBase.HTMLAttributes;
501 hr: JSXBase.HTMLAttributes<HTMLHRElement>;
502 html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
503 i: JSXBase.HTMLAttributes;
504 iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
505 img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
506 input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
507 ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
508 kbd: JSXBase.HTMLAttributes;
509 keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
510 label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
511 legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
512 li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
513 link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
514 main: JSXBase.HTMLAttributes;
515 map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
516 mark: JSXBase.HTMLAttributes;
517 menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
518 menuitem: JSXBase.HTMLAttributes;
519 meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
520 meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
521 nav: JSXBase.HTMLAttributes;
522 noscript: JSXBase.HTMLAttributes;
523 object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
524 ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
525 optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
526 option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
527 output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
528 p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
529 param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
530 picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
531 pre: JSXBase.HTMLAttributes<HTMLPreElement>;
532 progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
533 q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
534 rp: JSXBase.HTMLAttributes;
535 rt: JSXBase.HTMLAttributes;
536 ruby: JSXBase.HTMLAttributes;
537 s: JSXBase.HTMLAttributes;
538 samp: JSXBase.HTMLAttributes;
539 script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
540 section: JSXBase.HTMLAttributes;
541 select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
542 small: JSXBase.HTMLAttributes;
543 source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
544 span: JSXBase.HTMLAttributes<HTMLSpanElement>;
545 strong: JSXBase.HTMLAttributes;
546 style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
547 sub: JSXBase.HTMLAttributes;
548 summary: JSXBase.HTMLAttributes;
549 sup: JSXBase.HTMLAttributes;
550 table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
551 tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
552 td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
553 textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
554 tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
555 th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
556 thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
557 time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
558 title: JSXBase.HTMLAttributes<HTMLTitleElement>;
559 tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
560 track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
561 u: JSXBase.HTMLAttributes;
562 ul: JSXBase.HTMLAttributes<HTMLUListElement>;
563 'var': JSXBase.HTMLAttributes;
564 video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
565 wbr: JSXBase.HTMLAttributes;
566 animate: JSXBase.SVGAttributes;
567 circle: JSXBase.SVGAttributes;
568 clipPath: JSXBase.SVGAttributes;
569 defs: JSXBase.SVGAttributes;
570 desc: JSXBase.SVGAttributes;
571 ellipse: JSXBase.SVGAttributes;
572 feBlend: JSXBase.SVGAttributes;
573 feColorMatrix: JSXBase.SVGAttributes;
574 feComponentTransfer: JSXBase.SVGAttributes;
575 feComposite: JSXBase.SVGAttributes;
576 feConvolveMatrix: JSXBase.SVGAttributes;
577 feDiffuseLighting: JSXBase.SVGAttributes;
578 feDisplacementMap: JSXBase.SVGAttributes;
579 feDistantLight: JSXBase.SVGAttributes;
580 feDropShadow: JSXBase.SVGAttributes;
581 feFlood: JSXBase.SVGAttributes;
582 feFuncA: JSXBase.SVGAttributes;
583 feFuncB: JSXBase.SVGAttributes;
584 feFuncG: JSXBase.SVGAttributes;
585 feFuncR: JSXBase.SVGAttributes;
586 feGaussianBlur: JSXBase.SVGAttributes;
587 feImage: JSXBase.SVGAttributes;
588 feMerge: JSXBase.SVGAttributes;
589 feMergeNode: JSXBase.SVGAttributes;
590 feMorphology: JSXBase.SVGAttributes;
591 feOffset: JSXBase.SVGAttributes;
592 fePointLight: JSXBase.SVGAttributes;
593 feSpecularLighting: JSXBase.SVGAttributes;
594 feSpotLight: JSXBase.SVGAttributes;
595 feTile: JSXBase.SVGAttributes;
596 feTurbulence: JSXBase.SVGAttributes;
597 filter: JSXBase.SVGAttributes;
598 foreignObject: JSXBase.SVGAttributes;
599 g: JSXBase.SVGAttributes;
600 image: JSXBase.SVGAttributes;
601 line: JSXBase.SVGAttributes;
602 linearGradient: JSXBase.SVGAttributes;
603 marker: JSXBase.SVGAttributes;
604 mask: JSXBase.SVGAttributes;
605 metadata: JSXBase.SVGAttributes;
606 path: JSXBase.SVGAttributes;
607 pattern: JSXBase.SVGAttributes;
608 polygon: JSXBase.SVGAttributes;
609 polyline: JSXBase.SVGAttributes;
610 radialGradient: JSXBase.SVGAttributes;
611 rect: JSXBase.SVGAttributes;
612 stop: JSXBase.SVGAttributes;
613 svg: JSXBase.SVGAttributes;
614 switch: JSXBase.SVGAttributes;
615 symbol: JSXBase.SVGAttributes;
616 text: JSXBase.SVGAttributes;
617 textPath: JSXBase.SVGAttributes;
618 tspan: JSXBase.SVGAttributes;
619 use: JSXBase.SVGAttributes;
620 view: JSXBase.SVGAttributes;
621 }
622 interface SlotAttributes {
623 name?: string;
624 slot?: string;
625 }
626 interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
627 download?: any;
628 href?: string;
629 hrefLang?: string;
630 hreflang?: string;
631 media?: string;
632 rel?: string;
633 target?: string;
634 }
635 interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
636 }
637 interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
638 alt?: string;
639 coords?: string;
640 download?: any;
641 href?: string;
642 hrefLang?: string;
643 hreflang?: string;
644 media?: string;
645 rel?: string;
646 shape?: string;
647 target?: string;
648 }
649 interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
650 href?: string;
651 target?: string;
652 }
653 interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
654 cite?: string;
655 }
656 interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
657 autoFocus?: boolean;
658 disabled?: boolean;
659 form?: string;
660 formAction?: string;
661 formaction?: string;
662 formEncType?: string;
663 formenctype?: string;
664 formMethod?: string;
665 formmethod?: string;
666 formNoValidate?: boolean;
667 formnovalidate?: boolean;
668 formTarget?: string;
669 formtarget?: string;
670 name?: string;
671 type?: string;
672 value?: string | string[] | number;
673 }
674 interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
675 height?: number | string;
676 width?: number | string;
677 }
678 interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
679 span?: number;
680 }
681 interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
682 span?: number;
683 }
684 interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
685 open?: boolean;
686 }
687 interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
688 cite?: string;
689 dateTime?: string;
690 datetime?: string;
691 }
692 interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
693 onClose?: (event: Event) => void;
694 open?: boolean;
695 returnValue?: string;
696 }
697 interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
698 height?: number | string;
699 src?: string;
700 type?: string;
701 width?: number | string;
702 }
703 interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
704 disabled?: boolean;
705 form?: string;
706 name?: string;
707 }
708 interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
709 acceptCharset?: string;
710 acceptcharset?: string;
711 action?: string;
712 autoComplete?: string;
713 autocomplete?: string;
714 encType?: string;
715 enctype?: string;
716 method?: string;
717 name?: string;
718 noValidate?: boolean;
719 novalidate?: boolean | string;
720 target?: string;
721 }
722 interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
723 manifest?: string;
724 }
725 interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
726 allow?: string;
727 allowFullScreen?: boolean;
728 allowfullScreen?: string | boolean;
729 allowTransparency?: boolean;
730 allowtransparency?: string | boolean;
731 frameBorder?: number | string;
732 frameborder?: number | string;
733 importance?: 'low' | 'auto' | 'high';
734 height?: number | string;
735 loading?: 'lazy' | 'auto' | 'eager';
736 marginHeight?: number;
737 marginheight?: string | number;
738 marginWidth?: number;
739 marginwidth?: string | number;
740 name?: string;
741 referrerPolicy?: ReferrerPolicy;
742 sandbox?: string;
743 scrolling?: string;
744 seamless?: boolean;
745 src?: string;
746 srcDoc?: string;
747 srcdoc?: string;
748 width?: number | string;
749 }
750 interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
751 alt?: string;
752 decoding?: 'async' | 'auto' | 'sync';
753 importance?: 'low' | 'auto' | 'high';
754 height?: number | string;
755 loading?: 'lazy' | 'auto' | 'eager';
756 sizes?: string;
757 src?: string;
758 srcSet?: string;
759 srcset?: string;
760 useMap?: string;
761 usemap?: string;
762 width?: number | string;
763 }
764 interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
765 cite?: string;
766 dateTime?: string;
767 datetime?: string;
768 }
769 interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
770 accept?: string;
771 alt?: string;
772 autoComplete?: string;
773 autocomplete?: string;
774 autoFocus?: boolean;
775 autofocus?: boolean | string;
776 capture?: string;
777 checked?: boolean;
778 crossOrigin?: string;
779 crossorigin?: string;
780 disabled?: boolean;
781 form?: string;
782 formAction?: string;
783 formaction?: string;
784 formEncType?: string;
785 formenctype?: string;
786 formMethod?: string;
787 formmethod?: string;
788 formNoValidate?: boolean;
789 formnovalidate?: boolean;
790 formTarget?: string;
791 formtarget?: string;
792 height?: number | string;
793 list?: string;
794 max?: number | string;
795 maxLength?: number;
796 maxlength?: number | string;
797 min?: number | string;
798 minLength?: number;
799 minlength?: number | string;
800 multiple?: boolean;
801 name?: string;
802 pattern?: string;
803 placeholder?: string;
804 readOnly?: boolean;
805 readonly?: boolean | string;
806 required?: boolean;
807 size?: number;
808 src?: string;
809 step?: number | string;
810 type?: string;
811 value?: string | string[] | number;
812 width?: number | string;
813 }
814 interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
815 autoFocus?: boolean;
816 autofocus?: boolean | string;
817 challenge?: string;
818 disabled?: boolean;
819 form?: string;
820 keyType?: string;
821 keytype?: string;
822 keyParams?: string;
823 keyparams?: string;
824 name?: string;
825 }
826 interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
827 form?: string;
828 htmlFor?: string;
829 htmlfor?: string;
830 }
831 interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
832 value?: string | string[] | number;
833 }
834 interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
835 href?: string;
836 hrefLang?: string;
837 hreflang?: string;
838 importance?: 'low' | 'auto' | 'high';
839 integrity?: string;
840 media?: string;
841 rel?: string;
842 sizes?: string;
843 type?: string;
844 }
845 interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
846 name?: string;
847 }
848 interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
849 type?: string;
850 }
851 interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
852 autoPlay?: boolean;
853 autoplay?: boolean | string;
854 controls?: boolean;
855 crossOrigin?: string;
856 crossorigin?: string;
857 loop?: boolean;
858 mediaGroup?: string;
859 mediagroup?: string;
860 muted?: boolean;
861 preload?: string;
862 src?: string;
863 onAbort?: (event: Event) => void;
864 onCanPlay?: (event: Event) => void;
865 onCanPlayThrough?: (event: Event) => void;
866 onDurationChange?: (event: Event) => void;
867 onEmptied?: (event: Event) => void;
868 onEnded?: (event: Event) => void;
869 onError?: (event: Event) => void;
870 onInterruptBegin?: (event: Event) => void;
871 onInterruptEnd?: (event: Event) => void;
872 onLoadedData?: (event: Event) => void;
873 onLoadedMetaData?: (event: Event) => void;
874 onLoadStart?: (event: Event) => void;
875 onMozAudioAvailable?: (event: Event) => void;
876 onPause?: (event: Event) => void;
877 onPlay?: (event: Event) => void;
878 onPlaying?: (event: Event) => void;
879 onProgress?: (event: Event) => void;
880 onRateChange?: (event: Event) => void;
881 onSeeked?: (event: Event) => void;
882 onSeeking?: (event: Event) => void;
883 onStalled?: (event: Event) => void;
884 onSuspend?: (event: Event) => void;
885 onTimeUpdate?: (event: Event) => void;
886 onVolumeChange?: (event: Event) => void;
887 onWaiting?: (event: Event) => void;
888 }
889 interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
890 charSet?: string;
891 charset?: string;
892 content?: string;
893 httpEquiv?: string;
894 httpequiv?: string;
895 name?: string;
896 }
897 interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
898 form?: string;
899 high?: number;
900 low?: number;
901 max?: number | string;
902 min?: number | string;
903 optimum?: number;
904 value?: string | string[] | number;
905 }
906 interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
907 cite?: string;
908 }
909 interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
910 classID?: string;
911 classid?: string;
912 data?: string;
913 form?: string;
914 height?: number | string;
915 name?: string;
916 type?: string;
917 useMap?: string;
918 usemap?: string;
919 width?: number | string;
920 wmode?: string;
921 }
922 interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
923 reversed?: boolean;
924 start?: number;
925 }
926 interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
927 disabled?: boolean;
928 label?: string;
929 }
930 interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
931 disabled?: boolean;
932 label?: string;
933 selected?: boolean;
934 value?: string | string[] | number;
935 }
936 interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
937 form?: string;
938 htmlFor?: string;
939 htmlfor?: string;
940 name?: string;
941 }
942 interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
943 name?: string;
944 value?: string | string[] | number;
945 }
946 interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
947 max?: number | string;
948 value?: string | string[] | number;
949 }
950 interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
951 async?: boolean;
952 charSet?: string;
953 charset?: string;
954 crossOrigin?: string;
955 crossorigin?: string;
956 defer?: boolean;
957 importance?: 'low' | 'auto' | 'high';
958 integrity?: string;
959 nonce?: string;
960 src?: string;
961 type?: string;
962 }
963 interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
964 autoFocus?: boolean;
965 disabled?: boolean;
966 form?: string;
967 multiple?: boolean;
968 name?: string;
969 required?: boolean;
970 size?: number;
971 }
972 interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
973 media?: string;
974 sizes?: string;
975 src?: string;
976 srcSet?: string;
977 type?: string;
978 }
979 interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
980 media?: string;
981 nonce?: string;
982 scoped?: boolean;
983 type?: string;
984 }
985 interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
986 cellPadding?: number | string;
987 cellpadding?: number | string;
988 cellSpacing?: number | string;
989 cellspacing?: number | string;
990 summary?: string;
991 }
992 interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
993 autoFocus?: boolean;
994 autofocus?: boolean | string;
995 cols?: number;
996 disabled?: boolean;
997 form?: string;
998 maxLength?: number;
999 maxlength?: number | string;
1000 minLength?: number;
1001 minlength?: number | string;
1002 name?: string;
1003 placeholder?: string;
1004 readOnly?: boolean;
1005 readonly?: boolean | string;
1006 required?: boolean;
1007 rows?: number;
1008 value?: string | string[] | number;
1009 wrap?: string;
1010 }
1011 interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1012 colSpan?: number;
1013 headers?: string;
1014 rowSpan?: number;
1015 }
1016 interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1017 colSpan?: number;
1018 headers?: string;
1019 rowSpan?: number;
1020 rowspan?: number | string;
1021 scope?: string;
1022 }
1023 interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1024 dateTime?: string;
1025 }
1026 interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1027 default?: boolean;
1028 kind?: string;
1029 label?: string;
1030 src?: string;
1031 srcLang?: string;
1032 srclang?: string;
1033 }
1034 interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1035 height?: number | string;
1036 playsInline?: boolean;
1037 playsinline?: boolean | string;
1038 poster?: string;
1039 width?: number | string;
1040 }
1041 interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
1042 innerHTML?: string;
1043 accessKey?: string;
1044 class?: string | {
1045 [className: string]: boolean;
1046 };
1047 contentEditable?: boolean | string;
1048 contenteditable?: boolean | string;
1049 contextMenu?: string;
1050 contextmenu?: string;
1051 dir?: string;
1052 draggable?: boolean;
1053 hidden?: boolean;
1054 id?: string;
1055 lang?: string;
1056 spellCheck?: boolean;
1057 spellcheck?: boolean | string;
1058 style?: {
1059 [key: string]: string | undefined;
1060 };
1061 tabIndex?: number;
1062 tabindex?: number | string;
1063 title?: string;
1064 inputMode?: string;
1065 inputmode?: string;
1066 is?: string;
1067 radioGroup?: string;
1068 radiogroup?: string;
1069 part?: string;
1070 role?: string;
1071 about?: string;
1072 datatype?: string;
1073 inlist?: any;
1074 prefix?: string;
1075 property?: string;
1076 resource?: string;
1077 typeof?: string;
1078 vocab?: string;
1079 autoCapitalize?: string;
1080 autocapitalize?: string;
1081 autoCorrect?: string;
1082 autocorrect?: string;
1083 autoSave?: string;
1084 autosave?: string;
1085 color?: string;
1086 itemProp?: string;
1087 itemprop?: string;
1088 itemScope?: boolean;
1089 itemscope?: boolean;
1090 itemType?: string;
1091 itemtype?: string;
1092 itemID?: string;
1093 itemid?: string;
1094 itemRef?: string;
1095 itemref?: string;
1096 results?: number;
1097 security?: string;
1098 unselectable?: boolean;
1099 }
1100 interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
1101 class?: string | {
1102 [className: string]: boolean;
1103 };
1104 color?: string;
1105 height?: number | string;
1106 id?: string;
1107 lang?: string;
1108 max?: number | string;
1109 media?: string;
1110 method?: string;
1111 min?: number | string;
1112 name?: string;
1113 style?: {
1114 [key: string]: string | undefined;
1115 };
1116 target?: string;
1117 type?: string;
1118 width?: number | string;
1119 role?: string;
1120 tabIndex?: number;
1121 accentHeight?: number | string;
1122 accumulate?: 'none' | 'sum';
1123 additive?: 'replace' | 'sum';
1124 alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
1125 allowReorder?: 'no' | 'yes';
1126 alphabetic?: number | string;
1127 amplitude?: number | string;
1128 arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated';
1129 ascent?: number | string;
1130 attributeName?: string;
1131 attributeType?: string;
1132 autoReverse?: number | string;
1133 azimuth?: number | string;
1134 baseFrequency?: number | string;
1135 baselineShift?: number | string;
1136 baseProfile?: number | string;
1137 bbox?: number | string;
1138 begin?: number | string;
1139 bias?: number | string;
1140 by?: number | string;
1141 calcMode?: number | string;
1142 capHeight?: number | string;
1143 clip?: number | string;
1144 clipPath?: string;
1145 clipPathUnits?: number | string;
1146 clipRule?: number | string;
1147 colorInterpolation?: number | string;
1148 colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
1149 colorProfile?: number | string;
1150 colorRendering?: number | string;
1151 contentScriptType?: number | string;
1152 contentStyleType?: number | string;
1153 cursor?: number | string;
1154 cx?: number | string;
1155 cy?: number | string;
1156 d?: string;
1157 decelerate?: number | string;
1158 descent?: number | string;
1159 diffuseConstant?: number | string;
1160 direction?: number | string;
1161 display?: number | string;
1162 divisor?: number | string;
1163 dominantBaseline?: number | string;
1164 dur?: number | string;
1165 dx?: number | string;
1166 dy?: number | string;
1167 edgeMode?: number | string;
1168 elevation?: number | string;
1169 enableBackground?: number | string;
1170 end?: number | string;
1171 exponent?: number | string;
1172 externalResourcesRequired?: number | string;
1173 fill?: string;
1174 fillOpacity?: number | string;
1175 fillRule?: 'nonzero' | 'evenodd' | 'inherit';
1176 filter?: string;
1177 filterRes?: number | string;
1178 filterUnits?: number | string;
1179 floodColor?: number | string;
1180 floodOpacity?: number | string;
1181 focusable?: number | string;
1182 fontFamily?: string;
1183 fontSize?: number | string;
1184 fontSizeAdjust?: number | string;
1185 fontStretch?: number | string;
1186 fontStyle?: number | string;
1187 fontVariant?: number | string;
1188 fontWeight?: number | string;
1189 format?: number | string;
1190 from?: number | string;
1191 fx?: number | string;
1192 fy?: number | string;
1193 g1?: number | string;
1194 g2?: number | string;
1195 glyphName?: number | string;
1196 glyphOrientationHorizontal?: number | string;
1197 glyphOrientationVertical?: number | string;
1198 glyphRef?: number | string;
1199 gradientTransform?: string;
1200 gradientUnits?: string;
1201 hanging?: number | string;
1202 horizAdvX?: number | string;
1203 horizOriginX?: number | string;
1204 ideographic?: number | string;
1205 imageRendering?: number | string;
1206 in2?: number | string;
1207 in?: string;
1208 intercept?: number | string;
1209 k1?: number | string;
1210 k2?: number | string;
1211 k3?: number | string;
1212 k4?: number | string;
1213 k?: number | string;
1214 kernelMatrix?: number | string;
1215 kernelUnitLength?: number | string;
1216 kerning?: number | string;
1217 keyPoints?: number | string;
1218 keySplines?: number | string;
1219 keyTimes?: number | string;
1220 lengthAdjust?: number | string;
1221 letterSpacing?: number | string;
1222 lightingColor?: number | string;
1223 limitingConeAngle?: number | string;
1224 local?: number | string;
1225 markerEnd?: string;
1226 markerHeight?: number | string;
1227 markerMid?: string;
1228 markerStart?: string;
1229 markerUnits?: number | string;
1230 markerWidth?: number | string;
1231 mask?: string;
1232 maskContentUnits?: number | string;
1233 maskUnits?: number | string;
1234 mathematical?: number | string;
1235 mode?: number | string;
1236 numOctaves?: number | string;
1237 offset?: number | string;
1238 opacity?: number | string;
1239 operator?: number | string;
1240 order?: number | string;
1241 orient?: number | string;
1242 orientation?: number | string;
1243 origin?: number | string;
1244 overflow?: number | string;
1245 overlinePosition?: number | string;
1246 overlineThickness?: number | string;
1247 paintOrder?: number | string;
1248 panose1?: number | string;
1249 pathLength?: number | string;
1250 patternContentUnits?: string;
1251 patternTransform?: number | string;
1252 patternUnits?: string;
1253 pointerEvents?: number | string;
1254 points?: string;
1255 pointsAtX?: number | string;
1256 pointsAtY?: number | string;
1257 pointsAtZ?: number | string;
1258 preserveAlpha?: number | string;
1259 preserveAspectRatio?: string;
1260 primitiveUnits?: number | string;
1261 r?: number | string;
1262 radius?: number | string;
1263 refX?: number | string;
1264 refY?: number | string;
1265 renderingIntent?: number | string;
1266 repeatCount?: number | string;
1267 repeatDur?: number | string;
1268 requiredExtensions?: number | string;
1269 requiredFeatures?: number | string;
1270 restart?: number | string;
1271 result?: string;
1272 rotate?: number | string;
1273 rx?: number | string;
1274 ry?: number | string;
1275 scale?: number | string;
1276 seed?: number | string;
1277 shapeRendering?: number | string;
1278 slope?: number | string;
1279 spacing?: number | string;
1280 specularConstant?: number | string;
1281 specularExponent?: number | string;
1282 speed?: number | string;
1283 spreadMethod?: string;
1284 startOffset?: number | string;
1285 stdDeviation?: number | string;
1286 stemh?: number | string;
1287 stemv?: number | string;
1288 stitchTiles?: number | string;
1289 stopColor?: string;
1290 stopOpacity?: number | string;
1291 strikethroughPosition?: number | string;
1292 strikethroughThickness?: number | string;
1293 string?: number | string;
1294 stroke?: string;
1295 strokeDasharray?: string | number;
1296 strokeDashoffset?: string | number;
1297 strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
1298 strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
1299 strokeMiterlimit?: string;
1300 strokeOpacity?: number | string;
1301 strokeWidth?: number | string;
1302 surfaceScale?: number | string;
1303 systemLanguage?: number | string;
1304 tableValues?: number | string;
1305 targetX?: number | string;
1306 targetY?: number | string;
1307 textAnchor?: string;
1308 textDecoration?: number | string;
1309 textLength?: number | string;
1310 textRendering?: number | string;
1311 to?: number | string;
1312 transform?: string;
1313 u1?: number | string;
1314 u2?: number | string;
1315 underlinePosition?: number | string;
1316 underlineThickness?: number | string;
1317 unicode?: number | string;
1318 unicodeBidi?: number | string;
1319 unicodeRange?: number | string;
1320 unitsPerEm?: number | string;
1321 vAlphabetic?: number | string;
1322 values?: string;
1323 vectorEffect?: number | string;
1324 version?: string;
1325 vertAdvY?: number | string;
1326 vertOriginX?: number | string;
1327 vertOriginY?: number | string;
1328 vHanging?: number | string;
1329 vIdeographic?: number | string;
1330 viewBox?: string;
1331 viewTarget?: number | string;
1332 visibility?: number | string;
1333 vMathematical?: number | string;
1334 widths?: number | string;
1335 wordSpacing?: number | string;
1336 writingMode?: number | string;
1337 x1?: number | string;
1338 x2?: number | string;
1339 x?: number | string;
1340 xChannelSelector?: string;
1341 xHeight?: number | string;
1342 xlinkActuate?: string;
1343 xlinkArcrole?: string;
1344 xlinkHref?: string;
1345 xlinkRole?: string;
1346 xlinkShow?: string;
1347 xlinkTitle?: string;
1348 xlinkType?: string;
1349 xmlBase?: string;
1350 xmlLang?: string;
1351 xmlns?: string;
1352 xmlnsXlink?: string;
1353 xmlSpace?: string;
1354 y1?: number | string;
1355 y2?: number | string;
1356 y?: number | string;
1357 yChannelSelector?: string;
1358 z?: number | string;
1359 zoomAndPan?: string;
1360 }
1361 interface DOMAttributes<T = Element> {
1362 key?: string | number;
1363 ref?: (elm?: T) => void;
1364 slot?: string;
1365 onCopy?: (event: ClipboardEvent) => void;
1366 onCopyCapture?: (event: ClipboardEvent) => void;
1367 onCut?: (event: ClipboardEvent) => void;
1368 onCutCapture?: (event: ClipboardEvent) => void;
1369 onPaste?: (event: ClipboardEvent) => void;
1370 onPasteCapture?: (event: ClipboardEvent) => void;
1371 onCompositionEnd?: (event: CompositionEvent) => void;
1372 onCompositionEndCapture?: (event: CompositionEvent) => void;
1373 onCompositionStart?: (event: CompositionEvent) => void;
1374 onCompositionStartCapture?: (event: CompositionEvent) => void;
1375 onCompositionUpdate?: (event: CompositionEvent) => void;
1376 onCompositionUpdateCapture?: (event: CompositionEvent) => void;
1377 onFocus?: (event: FocusEvent) => void;
1378 onFocusCapture?: (event: FocusEvent) => void;
1379 onBlur?: (event: FocusEvent) => void;
1380 onBlurCapture?: (event: FocusEvent) => void;
1381 onChange?: (event: Event) => void;
1382 onChangeCapture?: (event: Event) => void;
1383 onInput?: (event: Event) => void;
1384 onInputCapture?: (event: Event) => void;
1385 onReset?: (event: Event) => void;
1386 onResetCapture?: (event: Event) => void;
1387 onSubmit?: (event: Event) => void;
1388 onSubmitCapture?: (event: Event) => void;
1389 onInvalid?: (event: Event) => void;
1390 onInvalidCapture?: (event: Event) => void;
1391 onLoad?: (event: Event) => void;
1392 onLoadCapture?: (event: Event) => void;
1393 onError?: (event: Event) => void;
1394 onErrorCapture?: (event: Event) => void;
1395 onKeyDown?: (event: KeyboardEvent) => void;
1396 onKeyDownCapture?: (event: KeyboardEvent) => void;
1397 onKeyPress?: (event: KeyboardEvent) => void;
1398 onKeyPressCapture?: (event: KeyboardEvent) => void;
1399 onKeyUp?: (event: KeyboardEvent) => void;
1400 onKeyUpCapture?: (event: KeyboardEvent) => void;
1401 onAuxClick?: (event: MouseEvent) => void;
1402 onClick?: (event: MouseEvent) => void;
1403 onClickCapture?: (event: MouseEvent) => void;
1404 onContextMenu?: (event: MouseEvent) => void;
1405 onContextMenuCapture?: (event: MouseEvent) => void;
1406 onDblClick?: (event: MouseEvent) => void;
1407 onDblClickCapture?: (event: MouseEvent) => void;
1408 onDrag?: (event: DragEvent) => void;
1409 onDragCapture?: (event: DragEvent) => void;
1410 onDragEnd?: (event: DragEvent) => void;
1411 onDragEndCapture?: (event: DragEvent) => void;
1412 onDragEnter?: (event: DragEvent) => void;
1413 onDragEnterCapture?: (event: DragEvent) => void;
1414 onDragExit?: (event: DragEvent) => void;
1415 onDragExitCapture?: (event: DragEvent) => void;
1416 onDragLeave?: (event: DragEvent) => void;
1417 onDragLeaveCapture?: (event: DragEvent) => void;
1418 onDragOver?: (event: DragEvent) => void;
1419 onDragOverCapture?: (event: DragEvent) => void;
1420 onDragStart?: (event: DragEvent) => void;
1421 onDragStartCapture?: (event: DragEvent) => void;
1422 onDrop?: (event: DragEvent) => void;
1423 onDropCapture?: (event: DragEvent) => void;
1424 onMouseDown?: (event: MouseEvent) => void;
1425 onMouseDownCapture?: (event: MouseEvent) => void;
1426 onMouseEnter?: (event: MouseEvent) => void;
1427 onMouseLeave?: (event: MouseEvent) => void;
1428 onMouseMove?: (event: MouseEvent) => void;
1429 onMouseMoveCapture?: (event: MouseEvent) => void;
1430 onMouseOut?: (event: MouseEvent) => void;
1431 onMouseOutCapture?: (event: MouseEvent) => void;
1432 onMouseOver?: (event: MouseEvent) => void;
1433 onMouseOverCapture?: (event: MouseEvent) => void;
1434 onMouseUp?: (event: MouseEvent) => void;
1435 onMouseUpCapture?: (event: MouseEvent) => void;
1436 onTouchCancel?: (event: TouchEvent) => void;
1437 onTouchCancelCapture?: (event: TouchEvent) => void;
1438 onTouchEnd?: (event: TouchEvent) => void;
1439 onTouchEndCapture?: (event: TouchEvent) => void;
1440 onTouchMove?: (event: TouchEvent) => void;
1441 onTouchMoveCapture?: (event: TouchEvent) => void;
1442 onTouchStart?: (event: TouchEvent) => void;
1443 onTouchStartCapture?: (event: TouchEvent) => void;
1444 onPointerDown?: (event: PointerEvent) => void;
1445 onPointerDownCapture?: (event: PointerEvent) => void;
1446 onPointerMove?: (event: PointerEvent) => void;
1447 onPointerMoveCapture?: (event: PointerEvent) => void;
1448 onPointerUp?: (event: PointerEvent) => void;
1449 onPointerUpCapture?: (event: PointerEvent) => void;
1450 onPointerCancel?: (event: PointerEvent) => void;
1451 onPointerCancelCapture?: (event: PointerEvent) => void;
1452 onPointerEnter?: (event: PointerEvent) => void;
1453 onPointerEnterCapture?: (event: PointerEvent) => void;
1454 onPointerLeave?: (event: PointerEvent) => void;
1455 onPointerLeaveCapture?: (event: PointerEvent) => void;
1456 onPointerOver?: (event: PointerEvent) => void;
1457 onPointerOverCapture?: (event: PointerEvent) => void;
1458 onPointerOut?: (event: PointerEvent) => void;
1459 onPointerOutCapture?: (event: PointerEvent) => void;
1460 onGotPointerCapture?: (event: PointerEvent) => void;
1461 onGotPointerCaptureCapture?: (event: PointerEvent) => void;
1462 onLostPointerCapture?: (event: PointerEvent) => void;
1463 onLostPointerCaptureCapture?: (event: PointerEvent) => void;
1464 onScroll?: (event: UIEvent) => void;
1465 onScrollCapture?: (event: UIEvent) => void;
1466 onWheel?: (event: WheelEvent) => void;
1467 onWheelCapture?: (event: WheelEvent) => void;
1468 onAnimationStart?: (event: AnimationEvent) => void;
1469 onAnimationStartCapture?: (event: AnimationEvent) => void;
1470 onAnimationEnd?: (event: AnimationEvent) => void;
1471 onAnimationEndCapture?: (event: AnimationEvent) => void;
1472 onAnimationIteration?: (event: AnimationEvent) => void;
1473 onAnimationIterationCapture?: (event: AnimationEvent) => void;
1474 onTransitionEnd?: (event: TransitionEvent) => void;
1475 onTransitionEndCapture?: (event: TransitionEvent) => void;
1476 }
1477}