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