@rijkshuisstijl-community/web-components-stencil 1.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +288 -0
- package/README.md +25 -0
- package/dist/cjs/index-97a16ac9.js +1551 -0
- package/dist/cjs/index-97a16ac9.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-error.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-error.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js +34 -0
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-success.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-success.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-warning.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-warning.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc.cjs.js +25 -0
- package/dist/cjs/rhc.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/icon-arrow-right/stencil.js +13 -0
- package/dist/collection/icon-arrow-right/stencil.js.map +1 -0
- package/dist/collection/icon-calendar/stencil.js +13 -0
- package/dist/collection/icon-calendar/stencil.js.map +1 -0
- package/dist/collection/icon-error/stencil.js +13 -0
- package/dist/collection/icon-error/stencil.js.map +1 -0
- package/dist/collection/icon-info/stencil.js +13 -0
- package/dist/collection/icon-info/stencil.js.map +1 -0
- package/dist/collection/icon-success/stencil.js +13 -0
- package/dist/collection/icon-success/stencil.js.map +1 -0
- package/dist/collection/icon-warning/stencil.js +13 -0
- package/dist/collection/icon-warning/stencil.js.map +1 -0
- package/dist/collection/icon.svg +0 -0
- package/dist/collection/logo.css +45 -0
- package/dist/collection/logo.stencil.js +72 -0
- package/dist/collection/logo.stencil.js.map +1 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +30 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/rhc-icon-arrow-right.d.ts +11 -0
- package/dist/components/rhc-icon-arrow-right.js +32 -0
- package/dist/components/rhc-icon-arrow-right.js.map +1 -0
- package/dist/components/rhc-icon-calendar.d.ts +11 -0
- package/dist/components/rhc-icon-calendar.js +32 -0
- package/dist/components/rhc-icon-calendar.js.map +1 -0
- package/dist/components/rhc-icon-error.d.ts +11 -0
- package/dist/components/rhc-icon-error.js +32 -0
- package/dist/components/rhc-icon-error.js.map +1 -0
- package/dist/components/rhc-icon-info.d.ts +11 -0
- package/dist/components/rhc-icon-info.js +32 -0
- package/dist/components/rhc-icon-info.js.map +1 -0
- package/dist/components/rhc-icon-success.d.ts +11 -0
- package/dist/components/rhc-icon-success.js +32 -0
- package/dist/components/rhc-icon-success.js.map +1 -0
- package/dist/components/rhc-icon-warning.d.ts +11 -0
- package/dist/components/rhc-icon-warning.js +32 -0
- package/dist/components/rhc-icon-warning.js.map +1 -0
- package/dist/components/rhc-logo.d.ts +11 -0
- package/dist/components/rhc-logo.js +41 -0
- package/dist/components/rhc-logo.js.map +1 -0
- package/dist/esm/index-c2d82fd1.js +1525 -0
- package/dist/esm/index-c2d82fd1.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/rhc-icon-arrow-right.entry.js +14 -0
- package/dist/esm/rhc-icon-arrow-right.entry.js.map +1 -0
- package/dist/esm/rhc-icon-calendar.entry.js +14 -0
- package/dist/esm/rhc-icon-calendar.entry.js.map +1 -0
- package/dist/esm/rhc-icon-error.entry.js +14 -0
- package/dist/esm/rhc-icon-error.entry.js.map +1 -0
- package/dist/esm/rhc-icon-info_2.entry.js +29 -0
- package/dist/esm/rhc-icon-info_2.entry.js.map +1 -0
- package/dist/esm/rhc-icon-success.entry.js +14 -0
- package/dist/esm/rhc-icon-success.entry.js.map +1 -0
- package/dist/esm/rhc-icon-warning.entry.js +14 -0
- package/dist/esm/rhc-icon-warning.entry.js.map +1 -0
- package/dist/esm/rhc.js +20 -0
- package/dist/esm/rhc.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/rhc/index.esm.js +2 -0
- package/dist/rhc/index.esm.js.map +1 -0
- package/dist/rhc/p-1849850a.entry.js +2 -0
- package/dist/rhc/p-1849850a.entry.js.map +1 -0
- package/dist/rhc/p-1ddc5ba6.entry.js +2 -0
- package/dist/rhc/p-1ddc5ba6.entry.js.map +1 -0
- package/dist/rhc/p-1f328841.js +3 -0
- package/dist/rhc/p-1f328841.js.map +1 -0
- package/dist/rhc/p-3c963064.entry.js +2 -0
- package/dist/rhc/p-3c963064.entry.js.map +1 -0
- package/dist/rhc/p-4378bb06.entry.js +2 -0
- package/dist/rhc/p-4378bb06.entry.js.map +1 -0
- package/dist/rhc/p-569d82ec.entry.js +2 -0
- package/dist/rhc/p-569d82ec.entry.js.map +1 -0
- package/dist/rhc/p-bab6df1d.entry.js +2 -0
- package/dist/rhc/p-bab6df1d.entry.js.map +1 -0
- package/dist/rhc/rhc.esm.js +2 -0
- package/dist/rhc/rhc.esm.js.map +1 -0
- package/dist/src/icon-arrow-right/stencil.d.ts +7 -0
- package/dist/src/icon-arrow-right/stencil.js +20 -0
- package/dist/src/icon-arrow-right/stencil.js.map +1 -0
- package/dist/src/icon-calendar/stencil.d.ts +7 -0
- package/dist/src/icon-calendar/stencil.js +20 -0
- package/dist/src/icon-calendar/stencil.js.map +1 -0
- package/dist/src/icon-error/stencil.d.ts +7 -0
- package/dist/src/icon-error/stencil.js +26 -0
- package/dist/src/icon-error/stencil.js.map +1 -0
- package/dist/src/icon-info/stencil.d.ts +7 -0
- package/dist/src/icon-info/stencil.js +24 -0
- package/dist/src/icon-info/stencil.js.map +1 -0
- package/dist/src/icon-success/stencil.d.ts +7 -0
- package/dist/src/icon-success/stencil.js +22 -0
- package/dist/src/icon-success/stencil.js.map +1 -0
- package/dist/src/icon-warning/stencil.d.ts +7 -0
- package/dist/src/icon-warning/stencil.js +24 -0
- package/dist/src/icon-warning/stencil.js.map +1 -0
- package/dist/src/logo.stencil.d.ts +15 -0
- package/dist/src/logo.stencil.js +40 -0
- package/dist/src/logo.stencil.js.map +1 -0
- package/dist/stencil.config.d.ts +2 -0
- package/dist/stencil.config.js +27 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/types/components.d.ts +119 -0
- package/dist/types/home/runner/work/rijkshuisstijl-community/rijkshuisstijl-community/packages/web-components-stencil/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/icon-arrow-right/stencil.d.ts +7 -0
- package/dist/types/icon-calendar/stencil.d.ts +7 -0
- package/dist/types/icon-error/stencil.d.ts +7 -0
- package/dist/types/icon-info/stencil.d.ts +7 -0
- package/dist/types/icon-success/stencil.d.ts +7 -0
- package/dist/types/icon-warning/stencil.d.ts +7 -0
- package/dist/types/logo.stencil.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +1652 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +58 -0
@@ -0,0 +1,1652 @@
|
|
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 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 type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
218
|
+
export 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
|
+
* Used to specify a nonce value that corresponds with an application's
|
262
|
+
* [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
|
263
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
264
|
+
* Alternatively, the nonce value can be set on a `meta` tag in the DOM head
|
265
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
|
266
|
+
* @param nonce The value to be used for the nonce attribute.
|
267
|
+
*/
|
268
|
+
export declare function setNonce(nonce: string): void;
|
269
|
+
/**
|
270
|
+
* Retrieve a Stencil element for a given reference
|
271
|
+
* @param ref the ref to get the Stencil element for
|
272
|
+
* @returns a reference to the element
|
273
|
+
*/
|
274
|
+
export declare function getElement(ref: any): HTMLStencilElement;
|
275
|
+
/**
|
276
|
+
* Schedules a new render of the given instance or element even if no state changed.
|
277
|
+
*
|
278
|
+
* Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
|
279
|
+
*
|
280
|
+
* @param ref the node/element to force the re-render of
|
281
|
+
*/
|
282
|
+
export declare function forceUpdate(ref: any): void;
|
283
|
+
/**
|
284
|
+
* getRenderingRef
|
285
|
+
* @returns the rendering ref
|
286
|
+
*/
|
287
|
+
export declare function getRenderingRef(): any;
|
288
|
+
export interface HTMLStencilElement extends HTMLElement {
|
289
|
+
componentOnReady(): Promise<this>;
|
290
|
+
}
|
291
|
+
/**
|
292
|
+
* Schedules a DOM-write task. The provided callback will be executed
|
293
|
+
* in the best moment to perform DOM mutation 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-write to schedule
|
298
|
+
*/
|
299
|
+
export declare function writeTask(task: RafCallback): void;
|
300
|
+
/**
|
301
|
+
* Schedules a DOM-read task. The provided callback will be executed
|
302
|
+
* in the best moment to perform DOM reads without causing layout thrashing.
|
303
|
+
*
|
304
|
+
* For further information: https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing
|
305
|
+
*
|
306
|
+
* @param task the DOM-read to schedule
|
307
|
+
*/
|
308
|
+
export declare function readTask(task: RafCallback): void;
|
309
|
+
/**
|
310
|
+
* `setErrorHandler()` can be used to inject a custom global error handler.
|
311
|
+
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
312
|
+
*/
|
313
|
+
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
314
|
+
/**
|
315
|
+
* This file gets copied to all distributions of stencil component collections.
|
316
|
+
* - no imports
|
317
|
+
*/
|
318
|
+
export interface ComponentWillLoad {
|
319
|
+
/**
|
320
|
+
* The component is about to load and it has not
|
321
|
+
* rendered yet.
|
322
|
+
*
|
323
|
+
* This is the best place to make any data updates
|
324
|
+
* before the first render.
|
325
|
+
*
|
326
|
+
* componentWillLoad will only be called once.
|
327
|
+
*/
|
328
|
+
componentWillLoad(): Promise<void> | void;
|
329
|
+
}
|
330
|
+
export interface ComponentDidLoad {
|
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
|
+
export interface ComponentWillUpdate {
|
342
|
+
/**
|
343
|
+
* The component is about to update and re-render.
|
344
|
+
*
|
345
|
+
* Called multiple times throughout the life of
|
346
|
+
* the component as it updates.
|
347
|
+
*
|
348
|
+
* componentWillUpdate is not called on the first render.
|
349
|
+
*/
|
350
|
+
componentWillUpdate(): Promise<void> | void;
|
351
|
+
}
|
352
|
+
export interface ComponentDidUpdate {
|
353
|
+
/**
|
354
|
+
* The component has just re-rendered.
|
355
|
+
*
|
356
|
+
* Called multiple times throughout the life of
|
357
|
+
* the component as it updates.
|
358
|
+
*
|
359
|
+
* componentWillUpdate is not called on the
|
360
|
+
* first render.
|
361
|
+
*/
|
362
|
+
componentDidUpdate(): void;
|
363
|
+
}
|
364
|
+
export interface ComponentInterface {
|
365
|
+
connectedCallback?(): void;
|
366
|
+
disconnectedCallback?(): void;
|
367
|
+
componentWillRender?(): Promise<void> | void;
|
368
|
+
componentDidRender?(): void;
|
369
|
+
/**
|
370
|
+
* The component is about to load and it has not
|
371
|
+
* rendered yet.
|
372
|
+
*
|
373
|
+
* This is the best place to make any data updates
|
374
|
+
* before the first render.
|
375
|
+
*
|
376
|
+
* componentWillLoad will only be called once.
|
377
|
+
*/
|
378
|
+
componentWillLoad?(): Promise<void> | void;
|
379
|
+
/**
|
380
|
+
* The component has loaded and has already rendered.
|
381
|
+
*
|
382
|
+
* Updating data in this method will cause the
|
383
|
+
* component to re-render.
|
384
|
+
*
|
385
|
+
* componentDidLoad will only be called once.
|
386
|
+
*/
|
387
|
+
componentDidLoad?(): void;
|
388
|
+
/**
|
389
|
+
* A `@Prop` or `@State` property changed and a rerender is about to be requested.
|
390
|
+
*
|
391
|
+
* Called multiple times throughout the life of
|
392
|
+
* the component as its properties change.
|
393
|
+
*
|
394
|
+
* componentShouldUpdate is not called on the first render.
|
395
|
+
*/
|
396
|
+
componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
|
397
|
+
/**
|
398
|
+
* The component is about to update and re-render.
|
399
|
+
*
|
400
|
+
* Called multiple times throughout the life of
|
401
|
+
* the component as it updates.
|
402
|
+
*
|
403
|
+
* componentWillUpdate is not called on the first render.
|
404
|
+
*/
|
405
|
+
componentWillUpdate?(): Promise<void> | void;
|
406
|
+
/**
|
407
|
+
* The component has just re-rendered.
|
408
|
+
*
|
409
|
+
* Called multiple times throughout the life of
|
410
|
+
* the component as it updates.
|
411
|
+
*
|
412
|
+
* componentWillUpdate is not called on the
|
413
|
+
* first render.
|
414
|
+
*/
|
415
|
+
componentDidUpdate?(): void;
|
416
|
+
render?(): any;
|
417
|
+
[memberName: string]: any;
|
418
|
+
}
|
419
|
+
export interface EventEmitter<T = any> {
|
420
|
+
emit: (data?: T) => CustomEvent<T>;
|
421
|
+
}
|
422
|
+
export interface RafCallback {
|
423
|
+
(timeStamp: number): void;
|
424
|
+
}
|
425
|
+
export interface QueueApi {
|
426
|
+
tick: (cb: RafCallback) => void;
|
427
|
+
read: (cb: RafCallback) => void;
|
428
|
+
write: (cb: RafCallback) => void;
|
429
|
+
clear?: () => void;
|
430
|
+
flush?: (cb?: () => void) => void;
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* Host
|
434
|
+
*/
|
435
|
+
export interface HostAttributes {
|
436
|
+
class?: string | {
|
437
|
+
[className: string]: boolean;
|
438
|
+
};
|
439
|
+
style?: {
|
440
|
+
[key: string]: string | undefined;
|
441
|
+
};
|
442
|
+
ref?: (el: HTMLElement | null) => void;
|
443
|
+
[prop: string]: any;
|
444
|
+
}
|
445
|
+
/**
|
446
|
+
* Utilities for working with functional Stencil components. An object
|
447
|
+
* conforming to this interface is passed by the Stencil runtime as the third
|
448
|
+
* argument to a functional component, allowing component authors to work with
|
449
|
+
* features like children.
|
450
|
+
*
|
451
|
+
* The children of a functional component will be passed as the second
|
452
|
+
* argument, so a functional component which uses these utils to transform its
|
453
|
+
* children might look like the following:
|
454
|
+
*
|
455
|
+
* ```ts
|
456
|
+
* export const AddClass: FunctionalComponent = (_, children, utils) => (
|
457
|
+
* utils.map(children, child => ({
|
458
|
+
* ...child,
|
459
|
+
* vattrs: {
|
460
|
+
* ...child.vattrs,
|
461
|
+
* class: `${child.vattrs.class} add-class`
|
462
|
+
* }
|
463
|
+
* }))
|
464
|
+
* );
|
465
|
+
* ```
|
466
|
+
*
|
467
|
+
* For more see the Stencil documentation, here:
|
468
|
+
* https://stenciljs.com/docs/functional-components
|
469
|
+
*/
|
470
|
+
export interface FunctionalUtilities {
|
471
|
+
/**
|
472
|
+
* Utility for reading the children of a functional component at runtime.
|
473
|
+
* Since the Stencil runtime uses a different interface for children it is
|
474
|
+
* not recommendeded to read the children directly, and is preferable to use
|
475
|
+
* this utility to, for instance, perform a side effect for each child.
|
476
|
+
*/
|
477
|
+
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
478
|
+
/**
|
479
|
+
* Utility for transforming the children of a functional component. Given an
|
480
|
+
* array of children and a callback this will return a list of the results of
|
481
|
+
* passing each child to the supplied callback.
|
482
|
+
*/
|
483
|
+
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
484
|
+
}
|
485
|
+
export interface FunctionalComponent<T = {}> {
|
486
|
+
(props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[];
|
487
|
+
}
|
488
|
+
/**
|
489
|
+
* A Child VDOM node
|
490
|
+
*
|
491
|
+
* This has most of the same properties as {@link VNode} but friendlier names
|
492
|
+
* (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
|
493
|
+
* order to provide a friendlier public interface for users of the
|
494
|
+
* {@link FunctionalUtilities}).
|
495
|
+
*/
|
496
|
+
export interface ChildNode {
|
497
|
+
vtag?: string | number | Function;
|
498
|
+
vkey?: string | number;
|
499
|
+
vtext?: string;
|
500
|
+
vchildren?: VNode[];
|
501
|
+
vattrs?: any;
|
502
|
+
vname?: string;
|
503
|
+
}
|
504
|
+
/**
|
505
|
+
* Host is a functional component can be used at the root of the render function
|
506
|
+
* to set attributes and event listeners to the host element itself.
|
507
|
+
*
|
508
|
+
* For further information: https://stenciljs.com/docs/host-element
|
509
|
+
*/
|
510
|
+
export declare const Host: FunctionalComponent<HostAttributes>;
|
511
|
+
/**
|
512
|
+
* Fragment
|
513
|
+
*/
|
514
|
+
export declare const Fragment: FunctionalComponent<{}>;
|
515
|
+
/**
|
516
|
+
* The "h" namespace is used to import JSX types for elements and attributes.
|
517
|
+
* It is imported in order to avoid conflicting global JSX issues.
|
518
|
+
*/
|
519
|
+
export declare namespace h {
|
520
|
+
function h(sel: any): VNode;
|
521
|
+
function h(sel: Node, data: VNodeData | null): VNode;
|
522
|
+
function h(sel: any, data: VNodeData | null): VNode;
|
523
|
+
function h(sel: any, text: string): VNode;
|
524
|
+
function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
525
|
+
function h(sel: any, data: VNodeData | null, text: string): VNode;
|
526
|
+
function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
527
|
+
function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
528
|
+
namespace JSX {
|
529
|
+
interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
|
530
|
+
[tagName: string]: any;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
}
|
534
|
+
export declare function h(sel: any): VNode;
|
535
|
+
export declare function h(sel: Node, data: VNodeData | null): VNode;
|
536
|
+
export declare function h(sel: any, data: VNodeData | null): VNode;
|
537
|
+
export declare function h(sel: any, text: string): VNode;
|
538
|
+
export declare function h(sel: any, children: Array<VNode | undefined | null>): VNode;
|
539
|
+
export declare function h(sel: any, data: VNodeData | null, text: string): VNode;
|
540
|
+
export declare function h(sel: any, data: VNodeData | null, children: Array<VNode | undefined | null>): VNode;
|
541
|
+
export declare function h(sel: any, data: VNodeData | null, children: VNode): VNode;
|
542
|
+
/**
|
543
|
+
* A virtual DOM node
|
544
|
+
*/
|
545
|
+
export interface VNode {
|
546
|
+
$flags$: number;
|
547
|
+
$tag$: string | number | Function;
|
548
|
+
$elm$: any;
|
549
|
+
$text$: string;
|
550
|
+
$children$: VNode[];
|
551
|
+
$attrs$?: any;
|
552
|
+
$name$?: string;
|
553
|
+
$key$?: string | number;
|
554
|
+
}
|
555
|
+
export interface VNodeData {
|
556
|
+
class?: {
|
557
|
+
[className: string]: boolean;
|
558
|
+
};
|
559
|
+
style?: any;
|
560
|
+
[attrName: string]: any;
|
561
|
+
}
|
562
|
+
declare namespace LocalJSX {
|
563
|
+
interface Element {
|
564
|
+
}
|
565
|
+
interface IntrinsicElements {
|
566
|
+
}
|
567
|
+
}
|
568
|
+
export { LocalJSX as JSX };
|
569
|
+
export declare namespace JSXBase {
|
570
|
+
interface IntrinsicElements {
|
571
|
+
slot: JSXBase.SlotAttributes;
|
572
|
+
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
573
|
+
abbr: JSXBase.HTMLAttributes;
|
574
|
+
address: JSXBase.HTMLAttributes;
|
575
|
+
area: JSXBase.AreaHTMLAttributes<HTMLAreaElement>;
|
576
|
+
article: JSXBase.HTMLAttributes;
|
577
|
+
aside: JSXBase.HTMLAttributes;
|
578
|
+
audio: JSXBase.AudioHTMLAttributes<HTMLAudioElement>;
|
579
|
+
b: JSXBase.HTMLAttributes;
|
580
|
+
base: JSXBase.BaseHTMLAttributes<HTMLBaseElement>;
|
581
|
+
bdi: JSXBase.HTMLAttributes;
|
582
|
+
bdo: JSXBase.HTMLAttributes;
|
583
|
+
big: JSXBase.HTMLAttributes;
|
584
|
+
blockquote: JSXBase.BlockquoteHTMLAttributes<HTMLQuoteElement>;
|
585
|
+
body: JSXBase.HTMLAttributes<HTMLBodyElement>;
|
586
|
+
br: JSXBase.HTMLAttributes<HTMLBRElement>;
|
587
|
+
button: JSXBase.ButtonHTMLAttributes<HTMLButtonElement>;
|
588
|
+
canvas: JSXBase.CanvasHTMLAttributes<HTMLCanvasElement>;
|
589
|
+
caption: JSXBase.HTMLAttributes<HTMLTableCaptionElement>;
|
590
|
+
cite: JSXBase.HTMLAttributes;
|
591
|
+
code: JSXBase.HTMLAttributes;
|
592
|
+
col: JSXBase.ColHTMLAttributes<HTMLTableColElement>;
|
593
|
+
colgroup: JSXBase.ColgroupHTMLAttributes<HTMLTableColElement>;
|
594
|
+
data: JSXBase.HTMLAttributes<HTMLDataElement>;
|
595
|
+
datalist: JSXBase.HTMLAttributes<HTMLDataListElement>;
|
596
|
+
dd: JSXBase.HTMLAttributes;
|
597
|
+
del: JSXBase.DelHTMLAttributes<HTMLModElement>;
|
598
|
+
details: JSXBase.DetailsHTMLAttributes<HTMLElement>;
|
599
|
+
dfn: JSXBase.HTMLAttributes;
|
600
|
+
dialog: JSXBase.DialogHTMLAttributes<HTMLDialogElement>;
|
601
|
+
div: JSXBase.HTMLAttributes<HTMLDivElement>;
|
602
|
+
dl: JSXBase.HTMLAttributes<HTMLDListElement>;
|
603
|
+
dt: JSXBase.HTMLAttributes;
|
604
|
+
em: JSXBase.HTMLAttributes;
|
605
|
+
embed: JSXBase.EmbedHTMLAttributes<HTMLEmbedElement>;
|
606
|
+
fieldset: JSXBase.FieldsetHTMLAttributes<HTMLFieldSetElement>;
|
607
|
+
figcaption: JSXBase.HTMLAttributes;
|
608
|
+
figure: JSXBase.HTMLAttributes;
|
609
|
+
footer: JSXBase.HTMLAttributes;
|
610
|
+
form: JSXBase.FormHTMLAttributes<HTMLFormElement>;
|
611
|
+
h1: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
612
|
+
h2: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
613
|
+
h3: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
614
|
+
h4: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
615
|
+
h5: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
616
|
+
h6: JSXBase.HTMLAttributes<HTMLHeadingElement>;
|
617
|
+
head: JSXBase.HTMLAttributes<HTMLHeadElement>;
|
618
|
+
header: JSXBase.HTMLAttributes;
|
619
|
+
hgroup: JSXBase.HTMLAttributes;
|
620
|
+
hr: JSXBase.HTMLAttributes<HTMLHRElement>;
|
621
|
+
html: JSXBase.HTMLAttributes<HTMLHtmlElement>;
|
622
|
+
i: JSXBase.HTMLAttributes;
|
623
|
+
iframe: JSXBase.IframeHTMLAttributes<HTMLIFrameElement>;
|
624
|
+
img: JSXBase.ImgHTMLAttributes<HTMLImageElement>;
|
625
|
+
input: JSXBase.InputHTMLAttributes<HTMLInputElement>;
|
626
|
+
ins: JSXBase.InsHTMLAttributes<HTMLModElement>;
|
627
|
+
kbd: JSXBase.HTMLAttributes;
|
628
|
+
keygen: JSXBase.KeygenHTMLAttributes<HTMLElement>;
|
629
|
+
label: JSXBase.LabelHTMLAttributes<HTMLLabelElement>;
|
630
|
+
legend: JSXBase.HTMLAttributes<HTMLLegendElement>;
|
631
|
+
li: JSXBase.LiHTMLAttributes<HTMLLIElement>;
|
632
|
+
link: JSXBase.LinkHTMLAttributes<HTMLLinkElement>;
|
633
|
+
main: JSXBase.HTMLAttributes;
|
634
|
+
map: JSXBase.MapHTMLAttributes<HTMLMapElement>;
|
635
|
+
mark: JSXBase.HTMLAttributes;
|
636
|
+
menu: JSXBase.MenuHTMLAttributes<HTMLMenuElement>;
|
637
|
+
menuitem: JSXBase.HTMLAttributes;
|
638
|
+
meta: JSXBase.MetaHTMLAttributes<HTMLMetaElement>;
|
639
|
+
meter: JSXBase.MeterHTMLAttributes<HTMLMeterElement>;
|
640
|
+
nav: JSXBase.HTMLAttributes;
|
641
|
+
noscript: JSXBase.HTMLAttributes;
|
642
|
+
object: JSXBase.ObjectHTMLAttributes<HTMLObjectElement>;
|
643
|
+
ol: JSXBase.OlHTMLAttributes<HTMLOListElement>;
|
644
|
+
optgroup: JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>;
|
645
|
+
option: JSXBase.OptionHTMLAttributes<HTMLOptionElement>;
|
646
|
+
output: JSXBase.OutputHTMLAttributes<HTMLOutputElement>;
|
647
|
+
p: JSXBase.HTMLAttributes<HTMLParagraphElement>;
|
648
|
+
param: JSXBase.ParamHTMLAttributes<HTMLParamElement>;
|
649
|
+
picture: JSXBase.HTMLAttributes<HTMLPictureElement>;
|
650
|
+
pre: JSXBase.HTMLAttributes<HTMLPreElement>;
|
651
|
+
progress: JSXBase.ProgressHTMLAttributes<HTMLProgressElement>;
|
652
|
+
q: JSXBase.QuoteHTMLAttributes<HTMLQuoteElement>;
|
653
|
+
rp: JSXBase.HTMLAttributes;
|
654
|
+
rt: JSXBase.HTMLAttributes;
|
655
|
+
ruby: JSXBase.HTMLAttributes;
|
656
|
+
s: JSXBase.HTMLAttributes;
|
657
|
+
samp: JSXBase.HTMLAttributes;
|
658
|
+
script: JSXBase.ScriptHTMLAttributes<HTMLScriptElement>;
|
659
|
+
section: JSXBase.HTMLAttributes;
|
660
|
+
select: JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
|
661
|
+
small: JSXBase.HTMLAttributes;
|
662
|
+
source: JSXBase.SourceHTMLAttributes<HTMLSourceElement>;
|
663
|
+
span: JSXBase.HTMLAttributes<HTMLSpanElement>;
|
664
|
+
strong: JSXBase.HTMLAttributes;
|
665
|
+
style: JSXBase.StyleHTMLAttributes<HTMLStyleElement>;
|
666
|
+
sub: JSXBase.HTMLAttributes;
|
667
|
+
summary: JSXBase.HTMLAttributes;
|
668
|
+
sup: JSXBase.HTMLAttributes;
|
669
|
+
table: JSXBase.TableHTMLAttributes<HTMLTableElement>;
|
670
|
+
tbody: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
|
671
|
+
td: JSXBase.TdHTMLAttributes<HTMLTableDataCellElement>;
|
672
|
+
textarea: JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
673
|
+
tfoot: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
|
674
|
+
th: JSXBase.ThHTMLAttributes<HTMLTableHeaderCellElement>;
|
675
|
+
thead: JSXBase.HTMLAttributes<HTMLTableSectionElement>;
|
676
|
+
time: JSXBase.TimeHTMLAttributes<HTMLTimeElement>;
|
677
|
+
title: JSXBase.HTMLAttributes<HTMLTitleElement>;
|
678
|
+
tr: JSXBase.HTMLAttributes<HTMLTableRowElement>;
|
679
|
+
track: JSXBase.TrackHTMLAttributes<HTMLTrackElement>;
|
680
|
+
u: JSXBase.HTMLAttributes;
|
681
|
+
ul: JSXBase.HTMLAttributes<HTMLUListElement>;
|
682
|
+
var: JSXBase.HTMLAttributes;
|
683
|
+
video: JSXBase.VideoHTMLAttributes<HTMLVideoElement>;
|
684
|
+
wbr: JSXBase.HTMLAttributes;
|
685
|
+
animate: JSXBase.SVGAttributes;
|
686
|
+
circle: JSXBase.SVGAttributes;
|
687
|
+
clipPath: JSXBase.SVGAttributes;
|
688
|
+
defs: JSXBase.SVGAttributes;
|
689
|
+
desc: JSXBase.SVGAttributes;
|
690
|
+
ellipse: JSXBase.SVGAttributes;
|
691
|
+
feBlend: JSXBase.SVGAttributes;
|
692
|
+
feColorMatrix: JSXBase.SVGAttributes;
|
693
|
+
feComponentTransfer: JSXBase.SVGAttributes;
|
694
|
+
feComposite: JSXBase.SVGAttributes;
|
695
|
+
feConvolveMatrix: JSXBase.SVGAttributes;
|
696
|
+
feDiffuseLighting: JSXBase.SVGAttributes;
|
697
|
+
feDisplacementMap: JSXBase.SVGAttributes;
|
698
|
+
feDistantLight: JSXBase.SVGAttributes;
|
699
|
+
feDropShadow: JSXBase.SVGAttributes;
|
700
|
+
feFlood: JSXBase.SVGAttributes;
|
701
|
+
feFuncA: JSXBase.SVGAttributes;
|
702
|
+
feFuncB: JSXBase.SVGAttributes;
|
703
|
+
feFuncG: JSXBase.SVGAttributes;
|
704
|
+
feFuncR: JSXBase.SVGAttributes;
|
705
|
+
feGaussianBlur: JSXBase.SVGAttributes;
|
706
|
+
feImage: JSXBase.SVGAttributes;
|
707
|
+
feMerge: JSXBase.SVGAttributes;
|
708
|
+
feMergeNode: JSXBase.SVGAttributes;
|
709
|
+
feMorphology: JSXBase.SVGAttributes;
|
710
|
+
feOffset: JSXBase.SVGAttributes;
|
711
|
+
fePointLight: JSXBase.SVGAttributes;
|
712
|
+
feSpecularLighting: JSXBase.SVGAttributes;
|
713
|
+
feSpotLight: JSXBase.SVGAttributes;
|
714
|
+
feTile: JSXBase.SVGAttributes;
|
715
|
+
feTurbulence: JSXBase.SVGAttributes;
|
716
|
+
filter: JSXBase.SVGAttributes;
|
717
|
+
foreignObject: JSXBase.SVGAttributes;
|
718
|
+
g: JSXBase.SVGAttributes;
|
719
|
+
image: JSXBase.SVGAttributes;
|
720
|
+
line: JSXBase.SVGAttributes;
|
721
|
+
linearGradient: JSXBase.SVGAttributes;
|
722
|
+
marker: JSXBase.SVGAttributes;
|
723
|
+
mask: JSXBase.SVGAttributes;
|
724
|
+
metadata: JSXBase.SVGAttributes;
|
725
|
+
path: JSXBase.SVGAttributes;
|
726
|
+
pattern: JSXBase.SVGAttributes;
|
727
|
+
polygon: JSXBase.SVGAttributes;
|
728
|
+
polyline: JSXBase.SVGAttributes;
|
729
|
+
radialGradient: JSXBase.SVGAttributes;
|
730
|
+
rect: JSXBase.SVGAttributes;
|
731
|
+
stop: JSXBase.SVGAttributes;
|
732
|
+
svg: JSXBase.SVGAttributes;
|
733
|
+
switch: JSXBase.SVGAttributes;
|
734
|
+
symbol: JSXBase.SVGAttributes;
|
735
|
+
text: JSXBase.SVGAttributes;
|
736
|
+
textPath: JSXBase.SVGAttributes;
|
737
|
+
tspan: JSXBase.SVGAttributes;
|
738
|
+
use: JSXBase.SVGAttributes;
|
739
|
+
view: JSXBase.SVGAttributes;
|
740
|
+
}
|
741
|
+
interface SlotAttributes extends JSXAttributes {
|
742
|
+
name?: string;
|
743
|
+
slot?: string;
|
744
|
+
onSlotchange?: (event: Event) => void;
|
745
|
+
}
|
746
|
+
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
747
|
+
download?: any;
|
748
|
+
href?: string;
|
749
|
+
hrefLang?: string;
|
750
|
+
hreflang?: string;
|
751
|
+
media?: string;
|
752
|
+
rel?: string;
|
753
|
+
target?: string;
|
754
|
+
referrerPolicy?: ReferrerPolicy;
|
755
|
+
}
|
756
|
+
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
757
|
+
}
|
758
|
+
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
759
|
+
alt?: string;
|
760
|
+
coords?: string;
|
761
|
+
download?: any;
|
762
|
+
href?: string;
|
763
|
+
hrefLang?: string;
|
764
|
+
hreflang?: string;
|
765
|
+
media?: string;
|
766
|
+
rel?: string;
|
767
|
+
shape?: string;
|
768
|
+
target?: string;
|
769
|
+
}
|
770
|
+
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
771
|
+
href?: string;
|
772
|
+
target?: string;
|
773
|
+
}
|
774
|
+
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
775
|
+
cite?: string;
|
776
|
+
}
|
777
|
+
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
778
|
+
autoFocus?: boolean;
|
779
|
+
disabled?: boolean;
|
780
|
+
form?: string;
|
781
|
+
formAction?: string;
|
782
|
+
formaction?: string;
|
783
|
+
formEncType?: string;
|
784
|
+
formenctype?: string;
|
785
|
+
formMethod?: string;
|
786
|
+
formmethod?: string;
|
787
|
+
formNoValidate?: boolean;
|
788
|
+
formnovalidate?: boolean;
|
789
|
+
formTarget?: string;
|
790
|
+
formtarget?: string;
|
791
|
+
name?: string;
|
792
|
+
type?: string;
|
793
|
+
value?: string | string[] | number;
|
794
|
+
}
|
795
|
+
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
796
|
+
height?: number | string;
|
797
|
+
width?: number | string;
|
798
|
+
}
|
799
|
+
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
800
|
+
span?: number;
|
801
|
+
}
|
802
|
+
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
803
|
+
span?: number;
|
804
|
+
}
|
805
|
+
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
806
|
+
open?: boolean;
|
807
|
+
onToggle?: (event: Event) => void;
|
808
|
+
}
|
809
|
+
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
810
|
+
cite?: string;
|
811
|
+
dateTime?: string;
|
812
|
+
datetime?: string;
|
813
|
+
}
|
814
|
+
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
815
|
+
onCancel?: (event: Event) => void;
|
816
|
+
onClose?: (event: Event) => void;
|
817
|
+
open?: boolean;
|
818
|
+
returnValue?: string;
|
819
|
+
}
|
820
|
+
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
821
|
+
height?: number | string;
|
822
|
+
src?: string;
|
823
|
+
type?: string;
|
824
|
+
width?: number | string;
|
825
|
+
}
|
826
|
+
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
827
|
+
disabled?: boolean;
|
828
|
+
form?: string;
|
829
|
+
name?: string;
|
830
|
+
}
|
831
|
+
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
832
|
+
acceptCharset?: string;
|
833
|
+
acceptcharset?: string;
|
834
|
+
action?: string;
|
835
|
+
autoComplete?: string;
|
836
|
+
autocomplete?: string;
|
837
|
+
encType?: string;
|
838
|
+
enctype?: string;
|
839
|
+
method?: string;
|
840
|
+
name?: string;
|
841
|
+
noValidate?: boolean;
|
842
|
+
novalidate?: boolean | string;
|
843
|
+
target?: string;
|
844
|
+
}
|
845
|
+
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
846
|
+
manifest?: string;
|
847
|
+
}
|
848
|
+
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
849
|
+
allow?: string;
|
850
|
+
allowFullScreen?: boolean;
|
851
|
+
allowfullScreen?: string | boolean;
|
852
|
+
allowTransparency?: boolean;
|
853
|
+
allowtransparency?: string | boolean;
|
854
|
+
frameBorder?: number | string;
|
855
|
+
frameborder?: number | string;
|
856
|
+
importance?: 'low' | 'auto' | 'high';
|
857
|
+
height?: number | string;
|
858
|
+
loading?: 'lazy' | 'auto' | 'eager';
|
859
|
+
marginHeight?: number;
|
860
|
+
marginheight?: string | number;
|
861
|
+
marginWidth?: number;
|
862
|
+
marginwidth?: string | number;
|
863
|
+
name?: string;
|
864
|
+
referrerPolicy?: ReferrerPolicy;
|
865
|
+
sandbox?: string;
|
866
|
+
scrolling?: string;
|
867
|
+
seamless?: boolean;
|
868
|
+
src?: string;
|
869
|
+
srcDoc?: string;
|
870
|
+
srcdoc?: string;
|
871
|
+
width?: number | string;
|
872
|
+
}
|
873
|
+
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
874
|
+
alt?: string;
|
875
|
+
crossOrigin?: string;
|
876
|
+
crossorigin?: string;
|
877
|
+
decoding?: 'async' | 'auto' | 'sync';
|
878
|
+
importance?: 'low' | 'auto' | 'high';
|
879
|
+
height?: number | string;
|
880
|
+
loading?: 'lazy' | 'auto' | 'eager';
|
881
|
+
sizes?: string;
|
882
|
+
src?: string;
|
883
|
+
srcSet?: string;
|
884
|
+
srcset?: string;
|
885
|
+
useMap?: string;
|
886
|
+
usemap?: string;
|
887
|
+
width?: number | string;
|
888
|
+
}
|
889
|
+
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
890
|
+
cite?: string;
|
891
|
+
dateTime?: string;
|
892
|
+
datetime?: string;
|
893
|
+
}
|
894
|
+
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
895
|
+
accept?: string;
|
896
|
+
allowdirs?: boolean;
|
897
|
+
alt?: string;
|
898
|
+
autoCapitalize?: string;
|
899
|
+
autocapitalize?: string;
|
900
|
+
autoComplete?: string;
|
901
|
+
autocomplete?: string;
|
902
|
+
autoFocus?: boolean;
|
903
|
+
autofocus?: boolean | string;
|
904
|
+
capture?: string;
|
905
|
+
checked?: boolean;
|
906
|
+
crossOrigin?: string;
|
907
|
+
crossorigin?: string;
|
908
|
+
defaultChecked?: boolean;
|
909
|
+
defaultValue?: string;
|
910
|
+
dirName?: string;
|
911
|
+
disabled?: boolean;
|
912
|
+
files?: any;
|
913
|
+
form?: string;
|
914
|
+
formAction?: string;
|
915
|
+
formaction?: string;
|
916
|
+
formEncType?: string;
|
917
|
+
formenctype?: string;
|
918
|
+
formMethod?: string;
|
919
|
+
formmethod?: string;
|
920
|
+
formNoValidate?: boolean;
|
921
|
+
formnovalidate?: boolean;
|
922
|
+
formTarget?: string;
|
923
|
+
formtarget?: string;
|
924
|
+
height?: number | string;
|
925
|
+
indeterminate?: boolean;
|
926
|
+
list?: string;
|
927
|
+
max?: number | string;
|
928
|
+
maxLength?: number;
|
929
|
+
maxlength?: number | string;
|
930
|
+
min?: number | string;
|
931
|
+
minLength?: number;
|
932
|
+
minlength?: number | string;
|
933
|
+
multiple?: boolean;
|
934
|
+
name?: string;
|
935
|
+
onSelect?: (event: Event) => void;
|
936
|
+
onselect?: (event: Event) => void;
|
937
|
+
pattern?: string;
|
938
|
+
placeholder?: string;
|
939
|
+
readOnly?: boolean;
|
940
|
+
readonly?: boolean | string;
|
941
|
+
required?: boolean;
|
942
|
+
selectionStart?: number | string;
|
943
|
+
selectionEnd?: number | string;
|
944
|
+
selectionDirection?: string;
|
945
|
+
size?: number;
|
946
|
+
src?: string;
|
947
|
+
step?: number | string;
|
948
|
+
type?: string;
|
949
|
+
value?: string | string[] | number;
|
950
|
+
valueAsDate?: any;
|
951
|
+
valueAsNumber?: any;
|
952
|
+
webkitdirectory?: boolean;
|
953
|
+
webkitEntries?: any;
|
954
|
+
width?: number | string;
|
955
|
+
}
|
956
|
+
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
957
|
+
autoFocus?: boolean;
|
958
|
+
autofocus?: boolean | string;
|
959
|
+
challenge?: string;
|
960
|
+
disabled?: boolean;
|
961
|
+
form?: string;
|
962
|
+
keyType?: string;
|
963
|
+
keytype?: string;
|
964
|
+
keyParams?: string;
|
965
|
+
keyparams?: string;
|
966
|
+
name?: string;
|
967
|
+
}
|
968
|
+
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
969
|
+
form?: string;
|
970
|
+
htmlFor?: string;
|
971
|
+
htmlfor?: string;
|
972
|
+
}
|
973
|
+
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
974
|
+
value?: string | string[] | number;
|
975
|
+
}
|
976
|
+
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
977
|
+
as?: string;
|
978
|
+
href?: string;
|
979
|
+
hrefLang?: string;
|
980
|
+
hreflang?: string;
|
981
|
+
importance?: 'low' | 'auto' | 'high';
|
982
|
+
integrity?: string;
|
983
|
+
media?: string;
|
984
|
+
rel?: string;
|
985
|
+
sizes?: string;
|
986
|
+
type?: string;
|
987
|
+
}
|
988
|
+
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
989
|
+
name?: string;
|
990
|
+
}
|
991
|
+
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
992
|
+
type?: string;
|
993
|
+
}
|
994
|
+
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
995
|
+
autoPlay?: boolean;
|
996
|
+
autoplay?: boolean | string;
|
997
|
+
controls?: boolean;
|
998
|
+
crossOrigin?: string;
|
999
|
+
crossorigin?: string;
|
1000
|
+
loop?: boolean;
|
1001
|
+
mediaGroup?: string;
|
1002
|
+
mediagroup?: string;
|
1003
|
+
muted?: boolean;
|
1004
|
+
preload?: string;
|
1005
|
+
src?: string;
|
1006
|
+
onAbort?: (event: Event) => void;
|
1007
|
+
onCanPlay?: (event: Event) => void;
|
1008
|
+
onCanPlayThrough?: (event: Event) => void;
|
1009
|
+
onDurationChange?: (event: Event) => void;
|
1010
|
+
onEmptied?: (event: Event) => void;
|
1011
|
+
onEnded?: (event: Event) => void;
|
1012
|
+
onError?: (event: Event) => void;
|
1013
|
+
onInterruptBegin?: (event: Event) => void;
|
1014
|
+
onInterruptEnd?: (event: Event) => void;
|
1015
|
+
onLoadedData?: (event: Event) => void;
|
1016
|
+
onLoadedMetaData?: (event: Event) => void;
|
1017
|
+
onLoadStart?: (event: Event) => void;
|
1018
|
+
onMozAudioAvailable?: (event: Event) => void;
|
1019
|
+
onPause?: (event: Event) => void;
|
1020
|
+
onPlay?: (event: Event) => void;
|
1021
|
+
onPlaying?: (event: Event) => void;
|
1022
|
+
onProgress?: (event: Event) => void;
|
1023
|
+
onRateChange?: (event: Event) => void;
|
1024
|
+
onSeeked?: (event: Event) => void;
|
1025
|
+
onSeeking?: (event: Event) => void;
|
1026
|
+
onStalled?: (event: Event) => void;
|
1027
|
+
onSuspend?: (event: Event) => void;
|
1028
|
+
onTimeUpdate?: (event: Event) => void;
|
1029
|
+
onVolumeChange?: (event: Event) => void;
|
1030
|
+
onWaiting?: (event: Event) => void;
|
1031
|
+
}
|
1032
|
+
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
1033
|
+
charSet?: string;
|
1034
|
+
charset?: string;
|
1035
|
+
content?: string;
|
1036
|
+
httpEquiv?: string;
|
1037
|
+
httpequiv?: string;
|
1038
|
+
name?: string;
|
1039
|
+
}
|
1040
|
+
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
1041
|
+
form?: string;
|
1042
|
+
high?: number;
|
1043
|
+
low?: number;
|
1044
|
+
max?: number | string;
|
1045
|
+
min?: number | string;
|
1046
|
+
optimum?: number;
|
1047
|
+
value?: string | string[] | number;
|
1048
|
+
}
|
1049
|
+
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
1050
|
+
cite?: string;
|
1051
|
+
}
|
1052
|
+
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
1053
|
+
classID?: string;
|
1054
|
+
classid?: string;
|
1055
|
+
data?: string;
|
1056
|
+
form?: string;
|
1057
|
+
height?: number | string;
|
1058
|
+
name?: string;
|
1059
|
+
type?: string;
|
1060
|
+
useMap?: string;
|
1061
|
+
usemap?: string;
|
1062
|
+
width?: number | string;
|
1063
|
+
wmode?: string;
|
1064
|
+
}
|
1065
|
+
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
1066
|
+
reversed?: boolean;
|
1067
|
+
start?: number;
|
1068
|
+
}
|
1069
|
+
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
1070
|
+
disabled?: boolean;
|
1071
|
+
label?: string;
|
1072
|
+
}
|
1073
|
+
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
1074
|
+
disabled?: boolean;
|
1075
|
+
label?: string;
|
1076
|
+
selected?: boolean;
|
1077
|
+
value?: string | string[] | number;
|
1078
|
+
}
|
1079
|
+
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
1080
|
+
form?: string;
|
1081
|
+
htmlFor?: string;
|
1082
|
+
htmlfor?: string;
|
1083
|
+
name?: string;
|
1084
|
+
}
|
1085
|
+
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
1086
|
+
name?: string;
|
1087
|
+
value?: string | string[] | number;
|
1088
|
+
}
|
1089
|
+
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
1090
|
+
max?: number | string;
|
1091
|
+
value?: string | string[] | number;
|
1092
|
+
}
|
1093
|
+
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
1094
|
+
async?: boolean;
|
1095
|
+
charSet?: string;
|
1096
|
+
charset?: string;
|
1097
|
+
crossOrigin?: string;
|
1098
|
+
crossorigin?: string;
|
1099
|
+
defer?: boolean;
|
1100
|
+
importance?: 'low' | 'auto' | 'high';
|
1101
|
+
integrity?: string;
|
1102
|
+
nonce?: string;
|
1103
|
+
src?: string;
|
1104
|
+
type?: string;
|
1105
|
+
}
|
1106
|
+
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
1107
|
+
autoFocus?: boolean;
|
1108
|
+
disabled?: boolean;
|
1109
|
+
form?: string;
|
1110
|
+
multiple?: boolean;
|
1111
|
+
name?: string;
|
1112
|
+
required?: boolean;
|
1113
|
+
size?: number;
|
1114
|
+
autoComplete?: string;
|
1115
|
+
autocomplete?: string;
|
1116
|
+
}
|
1117
|
+
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
1118
|
+
media?: string;
|
1119
|
+
sizes?: string;
|
1120
|
+
src?: string;
|
1121
|
+
srcSet?: string;
|
1122
|
+
type?: string;
|
1123
|
+
}
|
1124
|
+
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
1125
|
+
media?: string;
|
1126
|
+
nonce?: string;
|
1127
|
+
scoped?: boolean;
|
1128
|
+
type?: string;
|
1129
|
+
}
|
1130
|
+
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
1131
|
+
cellPadding?: number | string;
|
1132
|
+
cellpadding?: number | string;
|
1133
|
+
cellSpacing?: number | string;
|
1134
|
+
cellspacing?: number | string;
|
1135
|
+
summary?: string;
|
1136
|
+
}
|
1137
|
+
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
1138
|
+
autoComplete?: string;
|
1139
|
+
autocomplete?: string;
|
1140
|
+
autoFocus?: boolean;
|
1141
|
+
autofocus?: boolean | string;
|
1142
|
+
cols?: number;
|
1143
|
+
disabled?: boolean;
|
1144
|
+
form?: string;
|
1145
|
+
maxLength?: number;
|
1146
|
+
maxlength?: number | string;
|
1147
|
+
minLength?: number;
|
1148
|
+
minlength?: number | string;
|
1149
|
+
name?: string;
|
1150
|
+
onSelect?: (event: Event) => void;
|
1151
|
+
onselect?: (event: Event) => void;
|
1152
|
+
placeholder?: string;
|
1153
|
+
readOnly?: boolean;
|
1154
|
+
readonly?: boolean | string;
|
1155
|
+
required?: boolean;
|
1156
|
+
rows?: number;
|
1157
|
+
value?: string | string[] | number;
|
1158
|
+
wrap?: string;
|
1159
|
+
}
|
1160
|
+
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
1161
|
+
colSpan?: number;
|
1162
|
+
headers?: string;
|
1163
|
+
rowSpan?: number;
|
1164
|
+
}
|
1165
|
+
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
1166
|
+
abbr?: string;
|
1167
|
+
colSpan?: number;
|
1168
|
+
headers?: string;
|
1169
|
+
rowSpan?: number;
|
1170
|
+
rowspan?: number | string;
|
1171
|
+
scope?: string;
|
1172
|
+
}
|
1173
|
+
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
1174
|
+
dateTime?: string;
|
1175
|
+
}
|
1176
|
+
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
1177
|
+
default?: boolean;
|
1178
|
+
kind?: string;
|
1179
|
+
label?: string;
|
1180
|
+
src?: string;
|
1181
|
+
srcLang?: string;
|
1182
|
+
srclang?: string;
|
1183
|
+
}
|
1184
|
+
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
1185
|
+
height?: number | string;
|
1186
|
+
playsInline?: boolean;
|
1187
|
+
playsinline?: boolean | string;
|
1188
|
+
poster?: string;
|
1189
|
+
width?: number | string;
|
1190
|
+
}
|
1191
|
+
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
1192
|
+
innerHTML?: string;
|
1193
|
+
accessKey?: string;
|
1194
|
+
class?: string | {
|
1195
|
+
[className: string]: boolean;
|
1196
|
+
};
|
1197
|
+
contentEditable?: boolean | string;
|
1198
|
+
contenteditable?: boolean | string;
|
1199
|
+
contextMenu?: string;
|
1200
|
+
contextmenu?: string;
|
1201
|
+
dir?: string;
|
1202
|
+
draggable?: boolean;
|
1203
|
+
hidden?: boolean;
|
1204
|
+
id?: string;
|
1205
|
+
lang?: string;
|
1206
|
+
spellcheck?: 'true' | 'false' | any;
|
1207
|
+
style?: {
|
1208
|
+
[key: string]: string | undefined;
|
1209
|
+
};
|
1210
|
+
tabIndex?: number;
|
1211
|
+
tabindex?: number | string;
|
1212
|
+
title?: string;
|
1213
|
+
inputMode?: string;
|
1214
|
+
inputmode?: string;
|
1215
|
+
enterKeyHint?: string;
|
1216
|
+
enterkeyhint?: string;
|
1217
|
+
is?: string;
|
1218
|
+
radioGroup?: string;
|
1219
|
+
radiogroup?: string;
|
1220
|
+
role?: string;
|
1221
|
+
about?: string;
|
1222
|
+
datatype?: string;
|
1223
|
+
inlist?: any;
|
1224
|
+
prefix?: string;
|
1225
|
+
property?: string;
|
1226
|
+
resource?: string;
|
1227
|
+
typeof?: string;
|
1228
|
+
vocab?: string;
|
1229
|
+
autoCapitalize?: string;
|
1230
|
+
autocapitalize?: string;
|
1231
|
+
autoCorrect?: string;
|
1232
|
+
autocorrect?: string;
|
1233
|
+
autoSave?: string;
|
1234
|
+
autosave?: string;
|
1235
|
+
color?: string;
|
1236
|
+
itemProp?: string;
|
1237
|
+
itemprop?: string;
|
1238
|
+
itemScope?: boolean;
|
1239
|
+
itemscope?: boolean;
|
1240
|
+
itemType?: string;
|
1241
|
+
itemtype?: string;
|
1242
|
+
itemID?: string;
|
1243
|
+
itemid?: string;
|
1244
|
+
itemRef?: string;
|
1245
|
+
itemref?: string;
|
1246
|
+
results?: number;
|
1247
|
+
security?: string;
|
1248
|
+
unselectable?: boolean;
|
1249
|
+
}
|
1250
|
+
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
1251
|
+
class?: string | {
|
1252
|
+
[className: string]: boolean;
|
1253
|
+
};
|
1254
|
+
color?: string;
|
1255
|
+
height?: number | string;
|
1256
|
+
id?: string;
|
1257
|
+
lang?: string;
|
1258
|
+
max?: number | string;
|
1259
|
+
media?: string;
|
1260
|
+
method?: string;
|
1261
|
+
min?: number | string;
|
1262
|
+
name?: string;
|
1263
|
+
style?: {
|
1264
|
+
[key: string]: string | undefined;
|
1265
|
+
};
|
1266
|
+
target?: string;
|
1267
|
+
type?: string;
|
1268
|
+
width?: number | string;
|
1269
|
+
role?: string;
|
1270
|
+
tabindex?: number;
|
1271
|
+
'accent-height'?: number | string;
|
1272
|
+
accumulate?: 'none' | 'sum';
|
1273
|
+
additive?: 'replace' | 'sum';
|
1274
|
+
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
1275
|
+
allowReorder?: 'no' | 'yes';
|
1276
|
+
alphabetic?: number | string;
|
1277
|
+
amplitude?: number | string;
|
1278
|
+
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
|
1279
|
+
ascent?: number | string;
|
1280
|
+
attributeName?: string;
|
1281
|
+
attributeType?: string;
|
1282
|
+
autoReverse?: number | string;
|
1283
|
+
azimuth?: number | string;
|
1284
|
+
baseFrequency?: number | string;
|
1285
|
+
'baseline-shift'?: number | string;
|
1286
|
+
baseProfile?: number | string;
|
1287
|
+
bbox?: number | string;
|
1288
|
+
begin?: number | string;
|
1289
|
+
bias?: number | string;
|
1290
|
+
by?: number | string;
|
1291
|
+
calcMode?: number | string;
|
1292
|
+
'cap-height'?: number | string;
|
1293
|
+
clip?: number | string;
|
1294
|
+
'clip-path'?: string;
|
1295
|
+
clipPathUnits?: number | string;
|
1296
|
+
'clip-rule'?: number | string;
|
1297
|
+
'color-interpolation'?: number | string;
|
1298
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
1299
|
+
'color-profile'?: number | string;
|
1300
|
+
'color-rendering'?: number | string;
|
1301
|
+
contentScriptType?: number | string;
|
1302
|
+
contentStyleType?: number | string;
|
1303
|
+
cursor?: number | string;
|
1304
|
+
cx?: number | string;
|
1305
|
+
cy?: number | string;
|
1306
|
+
d?: string;
|
1307
|
+
decelerate?: number | string;
|
1308
|
+
descent?: number | string;
|
1309
|
+
diffuseConstant?: number | string;
|
1310
|
+
direction?: number | string;
|
1311
|
+
display?: number | string;
|
1312
|
+
divisor?: number | string;
|
1313
|
+
'dominant-baseline'?: number | string;
|
1314
|
+
dur?: number | string;
|
1315
|
+
dx?: number | string;
|
1316
|
+
dy?: number | string;
|
1317
|
+
'edge-mode'?: number | string;
|
1318
|
+
elevation?: number | string;
|
1319
|
+
'enable-background'?: number | string;
|
1320
|
+
end?: number | string;
|
1321
|
+
exponent?: number | string;
|
1322
|
+
externalResourcesRequired?: number | string;
|
1323
|
+
fill?: string;
|
1324
|
+
'fill-opacity'?: number | string;
|
1325
|
+
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
|
1326
|
+
filter?: string;
|
1327
|
+
filterRes?: number | string;
|
1328
|
+
filterUnits?: number | string;
|
1329
|
+
'flood-color'?: number | string;
|
1330
|
+
'flood-opacity'?: number | string;
|
1331
|
+
focusable?: number | string;
|
1332
|
+
'font-family'?: string;
|
1333
|
+
'font-size'?: number | string;
|
1334
|
+
'font-size-adjust'?: number | string;
|
1335
|
+
'font-stretch'?: number | string;
|
1336
|
+
'font-style'?: number | string;
|
1337
|
+
'font-variant'?: number | string;
|
1338
|
+
'font-weight'?: number | string;
|
1339
|
+
format?: number | string;
|
1340
|
+
from?: number | string;
|
1341
|
+
fx?: number | string;
|
1342
|
+
fy?: number | string;
|
1343
|
+
g1?: number | string;
|
1344
|
+
g2?: number | string;
|
1345
|
+
'glyph-name'?: number | string;
|
1346
|
+
'glyph-orientation-horizontal'?: number | string;
|
1347
|
+
'glyph-orientation-vertical'?: number | string;
|
1348
|
+
glyphRef?: number | string;
|
1349
|
+
gradientTransform?: string;
|
1350
|
+
gradientUnits?: string;
|
1351
|
+
hanging?: number | string;
|
1352
|
+
'horiz-adv-x'?: number | string;
|
1353
|
+
'horiz-origin-x'?: number | string;
|
1354
|
+
href?: string;
|
1355
|
+
ideographic?: number | string;
|
1356
|
+
'image-rendering'?: number | string;
|
1357
|
+
in2?: number | string;
|
1358
|
+
in?: string;
|
1359
|
+
intercept?: number | string;
|
1360
|
+
k1?: number | string;
|
1361
|
+
k2?: number | string;
|
1362
|
+
k3?: number | string;
|
1363
|
+
k4?: number | string;
|
1364
|
+
k?: number | string;
|
1365
|
+
kernelMatrix?: number | string;
|
1366
|
+
kernelUnitLength?: number | string;
|
1367
|
+
kerning?: number | string;
|
1368
|
+
keyPoints?: number | string;
|
1369
|
+
keySplines?: number | string;
|
1370
|
+
keyTimes?: number | string;
|
1371
|
+
lengthAdjust?: number | string;
|
1372
|
+
'letter-spacing'?: number | string;
|
1373
|
+
'lighting-color'?: number | string;
|
1374
|
+
limitingConeAngle?: number | string;
|
1375
|
+
local?: number | string;
|
1376
|
+
'marker-end'?: string;
|
1377
|
+
markerHeight?: number | string;
|
1378
|
+
'marker-mid'?: string;
|
1379
|
+
'marker-start'?: string;
|
1380
|
+
markerUnits?: number | string;
|
1381
|
+
markerWidth?: number | string;
|
1382
|
+
mask?: string;
|
1383
|
+
maskContentUnits?: number | string;
|
1384
|
+
maskUnits?: number | string;
|
1385
|
+
mathematical?: number | string;
|
1386
|
+
mode?: number | string;
|
1387
|
+
numOctaves?: number | string;
|
1388
|
+
offset?: number | string;
|
1389
|
+
opacity?: number | string;
|
1390
|
+
operator?: number | string;
|
1391
|
+
order?: number | string;
|
1392
|
+
orient?: number | string;
|
1393
|
+
orientation?: number | string;
|
1394
|
+
origin?: number | string;
|
1395
|
+
overflow?: number | string;
|
1396
|
+
'overline-position'?: number | string;
|
1397
|
+
'overline-thickness'?: number | string;
|
1398
|
+
'paint-order'?: number | string;
|
1399
|
+
panose1?: number | string;
|
1400
|
+
pathLength?: number | string;
|
1401
|
+
patternContentUnits?: string;
|
1402
|
+
patternTransform?: number | string;
|
1403
|
+
patternUnits?: string;
|
1404
|
+
'pointer-events'?: number | string;
|
1405
|
+
points?: string;
|
1406
|
+
pointsAtX?: number | string;
|
1407
|
+
pointsAtY?: number | string;
|
1408
|
+
pointsAtZ?: number | string;
|
1409
|
+
preserveAlpha?: number | string;
|
1410
|
+
preserveAspectRatio?: string;
|
1411
|
+
primitiveUnits?: number | string;
|
1412
|
+
r?: number | string;
|
1413
|
+
radius?: number | string;
|
1414
|
+
refX?: number | string;
|
1415
|
+
refY?: number | string;
|
1416
|
+
'rendering-intent'?: number | string;
|
1417
|
+
repeatCount?: number | string;
|
1418
|
+
repeatDur?: number | string;
|
1419
|
+
requiredextensions?: number | string;
|
1420
|
+
requiredFeatures?: number | string;
|
1421
|
+
restart?: number | string;
|
1422
|
+
result?: string;
|
1423
|
+
rotate?: number | string;
|
1424
|
+
rx?: number | string;
|
1425
|
+
ry?: number | string;
|
1426
|
+
scale?: number | string;
|
1427
|
+
seed?: number | string;
|
1428
|
+
'shape-rendering'?: number | string;
|
1429
|
+
slope?: number | string;
|
1430
|
+
spacing?: number | string;
|
1431
|
+
specularConstant?: number | string;
|
1432
|
+
specularExponent?: number | string;
|
1433
|
+
speed?: number | string;
|
1434
|
+
spreadMethod?: string;
|
1435
|
+
startOffset?: number | string;
|
1436
|
+
stdDeviation?: number | string;
|
1437
|
+
stemh?: number | string;
|
1438
|
+
stemv?: number | string;
|
1439
|
+
stitchTiles?: number | string;
|
1440
|
+
'stop-color'?: string;
|
1441
|
+
'stop-opacity'?: number | string;
|
1442
|
+
'strikethrough-position'?: number | string;
|
1443
|
+
'strikethrough-thickness'?: number | string;
|
1444
|
+
string?: number | string;
|
1445
|
+
stroke?: string;
|
1446
|
+
'stroke-dasharray'?: string | number;
|
1447
|
+
'stroke-dashoffset'?: string | number;
|
1448
|
+
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
|
1449
|
+
'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
|
1450
|
+
'stroke-miterlimit'?: string;
|
1451
|
+
'stroke-opacity'?: number | string;
|
1452
|
+
'stroke-width'?: number | string;
|
1453
|
+
surfaceScale?: number | string;
|
1454
|
+
systemLanguage?: number | string;
|
1455
|
+
tableValues?: number | string;
|
1456
|
+
targetX?: number | string;
|
1457
|
+
targetY?: number | string;
|
1458
|
+
'text-anchor'?: string;
|
1459
|
+
'text-decoration'?: number | string;
|
1460
|
+
textLength?: number | string;
|
1461
|
+
'text-rendering'?: number | string;
|
1462
|
+
to?: number | string;
|
1463
|
+
transform?: string;
|
1464
|
+
u1?: number | string;
|
1465
|
+
u2?: number | string;
|
1466
|
+
'underline-position'?: number | string;
|
1467
|
+
'underline-thickness'?: number | string;
|
1468
|
+
unicode?: number | string;
|
1469
|
+
'unicode-bidi'?: number | string;
|
1470
|
+
'unicode-range'?: number | string;
|
1471
|
+
'units-per-em'?: number | string;
|
1472
|
+
'v-alphabetic'?: number | string;
|
1473
|
+
values?: string;
|
1474
|
+
'vector-effect'?: number | string;
|
1475
|
+
version?: string;
|
1476
|
+
'vert-adv-y'?: number | string;
|
1477
|
+
'vert-origin-x'?: number | string;
|
1478
|
+
'vert-origin-y'?: number | string;
|
1479
|
+
'v-hanging'?: number | string;
|
1480
|
+
'v-ideographic'?: number | string;
|
1481
|
+
viewBox?: string;
|
1482
|
+
viewTarget?: number | string;
|
1483
|
+
visibility?: number | string;
|
1484
|
+
'v-mathematical'?: number | string;
|
1485
|
+
widths?: number | string;
|
1486
|
+
'word-spacing'?: number | string;
|
1487
|
+
'writing-mode'?: number | string;
|
1488
|
+
x1?: number | string;
|
1489
|
+
x2?: number | string;
|
1490
|
+
x?: number | string;
|
1491
|
+
'x-channel-selector'?: string;
|
1492
|
+
'x-height'?: number | string;
|
1493
|
+
xlinkActuate?: string;
|
1494
|
+
xlinkArcrole?: string;
|
1495
|
+
xlinkHref?: string;
|
1496
|
+
xlinkRole?: string;
|
1497
|
+
xlinkShow?: string;
|
1498
|
+
xlinkTitle?: string;
|
1499
|
+
xlinkType?: string;
|
1500
|
+
xmlBase?: string;
|
1501
|
+
xmlLang?: string;
|
1502
|
+
xmlns?: string;
|
1503
|
+
xmlSpace?: string;
|
1504
|
+
y1?: number | string;
|
1505
|
+
y2?: number | string;
|
1506
|
+
y?: number | string;
|
1507
|
+
yChannelSelector?: string;
|
1508
|
+
z?: number | string;
|
1509
|
+
zoomAndPan?: string;
|
1510
|
+
}
|
1511
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
1512
|
+
slot?: string;
|
1513
|
+
part?: string;
|
1514
|
+
exportparts?: string;
|
1515
|
+
onCopy?: (event: ClipboardEvent) => void;
|
1516
|
+
onCopyCapture?: (event: ClipboardEvent) => void;
|
1517
|
+
onCut?: (event: ClipboardEvent) => void;
|
1518
|
+
onCutCapture?: (event: ClipboardEvent) => void;
|
1519
|
+
onPaste?: (event: ClipboardEvent) => void;
|
1520
|
+
onPasteCapture?: (event: ClipboardEvent) => void;
|
1521
|
+
onCompositionend?: (event: CompositionEvent) => void;
|
1522
|
+
onCompositionendCapture?: (event: CompositionEvent) => void;
|
1523
|
+
onCompositionstart?: (event: CompositionEvent) => void;
|
1524
|
+
onCompositionstartCapture?: (event: CompositionEvent) => void;
|
1525
|
+
onCompositionupdate?: (event: CompositionEvent) => void;
|
1526
|
+
onCompositionupdateCapture?: (event: CompositionEvent) => void;
|
1527
|
+
onFocus?: (event: FocusEvent) => void;
|
1528
|
+
onFocusCapture?: (event: FocusEvent) => void;
|
1529
|
+
onFocusin?: (event: FocusEvent) => void;
|
1530
|
+
onFocusinCapture?: (event: FocusEvent) => void;
|
1531
|
+
onFocusout?: (event: FocusEvent) => void;
|
1532
|
+
onFocusoutCapture?: (event: FocusEvent) => void;
|
1533
|
+
onBlur?: (event: FocusEvent) => void;
|
1534
|
+
onBlurCapture?: (event: FocusEvent) => void;
|
1535
|
+
onChange?: (event: Event) => void;
|
1536
|
+
onChangeCapture?: (event: Event) => void;
|
1537
|
+
onInput?: (event: InputEvent) => void;
|
1538
|
+
onInputCapture?: (event: InputEvent) => void;
|
1539
|
+
onReset?: (event: Event) => void;
|
1540
|
+
onResetCapture?: (event: Event) => void;
|
1541
|
+
onSubmit?: (event: Event) => void;
|
1542
|
+
onSubmitCapture?: (event: Event) => void;
|
1543
|
+
onInvalid?: (event: Event) => void;
|
1544
|
+
onInvalidCapture?: (event: Event) => void;
|
1545
|
+
onLoad?: (event: Event) => void;
|
1546
|
+
onLoadCapture?: (event: Event) => void;
|
1547
|
+
onError?: (event: Event) => void;
|
1548
|
+
onErrorCapture?: (event: Event) => void;
|
1549
|
+
onKeyDown?: (event: KeyboardEvent) => void;
|
1550
|
+
onKeyDownCapture?: (event: KeyboardEvent) => void;
|
1551
|
+
onKeyPress?: (event: KeyboardEvent) => void;
|
1552
|
+
onKeyPressCapture?: (event: KeyboardEvent) => void;
|
1553
|
+
onKeyUp?: (event: KeyboardEvent) => void;
|
1554
|
+
onKeyUpCapture?: (event: KeyboardEvent) => void;
|
1555
|
+
onAuxClick?: (event: MouseEvent) => void;
|
1556
|
+
onClick?: (event: MouseEvent) => void;
|
1557
|
+
onClickCapture?: (event: MouseEvent) => void;
|
1558
|
+
onContextMenu?: (event: MouseEvent) => void;
|
1559
|
+
onContextMenuCapture?: (event: MouseEvent) => void;
|
1560
|
+
onDblClick?: (event: MouseEvent) => void;
|
1561
|
+
onDblClickCapture?: (event: MouseEvent) => void;
|
1562
|
+
onDrag?: (event: DragEvent) => void;
|
1563
|
+
onDragCapture?: (event: DragEvent) => void;
|
1564
|
+
onDragEnd?: (event: DragEvent) => void;
|
1565
|
+
onDragEndCapture?: (event: DragEvent) => void;
|
1566
|
+
onDragEnter?: (event: DragEvent) => void;
|
1567
|
+
onDragEnterCapture?: (event: DragEvent) => void;
|
1568
|
+
onDragExit?: (event: DragEvent) => void;
|
1569
|
+
onDragExitCapture?: (event: DragEvent) => void;
|
1570
|
+
onDragLeave?: (event: DragEvent) => void;
|
1571
|
+
onDragLeaveCapture?: (event: DragEvent) => void;
|
1572
|
+
onDragOver?: (event: DragEvent) => void;
|
1573
|
+
onDragOverCapture?: (event: DragEvent) => void;
|
1574
|
+
onDragStart?: (event: DragEvent) => void;
|
1575
|
+
onDragStartCapture?: (event: DragEvent) => void;
|
1576
|
+
onDrop?: (event: DragEvent) => void;
|
1577
|
+
onDropCapture?: (event: DragEvent) => void;
|
1578
|
+
onMouseDown?: (event: MouseEvent) => void;
|
1579
|
+
onMouseDownCapture?: (event: MouseEvent) => void;
|
1580
|
+
onMouseEnter?: (event: MouseEvent) => void;
|
1581
|
+
onMouseLeave?: (event: MouseEvent) => void;
|
1582
|
+
onMouseMove?: (event: MouseEvent) => void;
|
1583
|
+
onMouseMoveCapture?: (event: MouseEvent) => void;
|
1584
|
+
onMouseOut?: (event: MouseEvent) => void;
|
1585
|
+
onMouseOutCapture?: (event: MouseEvent) => void;
|
1586
|
+
onMouseOver?: (event: MouseEvent) => void;
|
1587
|
+
onMouseOverCapture?: (event: MouseEvent) => void;
|
1588
|
+
onMouseUp?: (event: MouseEvent) => void;
|
1589
|
+
onMouseUpCapture?: (event: MouseEvent) => void;
|
1590
|
+
onTouchCancel?: (event: TouchEvent) => void;
|
1591
|
+
onTouchCancelCapture?: (event: TouchEvent) => void;
|
1592
|
+
onTouchEnd?: (event: TouchEvent) => void;
|
1593
|
+
onTouchEndCapture?: (event: TouchEvent) => void;
|
1594
|
+
onTouchMove?: (event: TouchEvent) => void;
|
1595
|
+
onTouchMoveCapture?: (event: TouchEvent) => void;
|
1596
|
+
onTouchStart?: (event: TouchEvent) => void;
|
1597
|
+
onTouchStartCapture?: (event: TouchEvent) => void;
|
1598
|
+
onPointerDown?: (event: PointerEvent) => void;
|
1599
|
+
onPointerDownCapture?: (event: PointerEvent) => void;
|
1600
|
+
onPointerMove?: (event: PointerEvent) => void;
|
1601
|
+
onPointerMoveCapture?: (event: PointerEvent) => void;
|
1602
|
+
onPointerUp?: (event: PointerEvent) => void;
|
1603
|
+
onPointerUpCapture?: (event: PointerEvent) => void;
|
1604
|
+
onPointerCancel?: (event: PointerEvent) => void;
|
1605
|
+
onPointerCancelCapture?: (event: PointerEvent) => void;
|
1606
|
+
onPointerEnter?: (event: PointerEvent) => void;
|
1607
|
+
onPointerEnterCapture?: (event: PointerEvent) => void;
|
1608
|
+
onPointerLeave?: (event: PointerEvent) => void;
|
1609
|
+
onPointerLeaveCapture?: (event: PointerEvent) => void;
|
1610
|
+
onPointerOver?: (event: PointerEvent) => void;
|
1611
|
+
onPointerOverCapture?: (event: PointerEvent) => void;
|
1612
|
+
onPointerOut?: (event: PointerEvent) => void;
|
1613
|
+
onPointerOutCapture?: (event: PointerEvent) => void;
|
1614
|
+
onGotPointerCapture?: (event: PointerEvent) => void;
|
1615
|
+
onGotPointerCaptureCapture?: (event: PointerEvent) => void;
|
1616
|
+
onLostPointerCapture?: (event: PointerEvent) => void;
|
1617
|
+
onLostPointerCaptureCapture?: (event: PointerEvent) => void;
|
1618
|
+
onScroll?: (event: UIEvent) => void;
|
1619
|
+
onScrollCapture?: (event: UIEvent) => void;
|
1620
|
+
onWheel?: (event: WheelEvent) => void;
|
1621
|
+
onWheelCapture?: (event: WheelEvent) => void;
|
1622
|
+
onAnimationStart?: (event: AnimationEvent) => void;
|
1623
|
+
onAnimationStartCapture?: (event: AnimationEvent) => void;
|
1624
|
+
onAnimationEnd?: (event: AnimationEvent) => void;
|
1625
|
+
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
1626
|
+
onAnimationIteration?: (event: AnimationEvent) => void;
|
1627
|
+
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
1628
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
1629
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
1630
|
+
onTransitionEnd?: (event: TransitionEvent) => void;
|
1631
|
+
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
1632
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
1633
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
1634
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
1635
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
export interface JSXAttributes<T = Element> {
|
1639
|
+
key?: string | number;
|
1640
|
+
ref?: (elm?: T) => void;
|
1641
|
+
}
|
1642
|
+
export interface CustomElementsDefineOptions {
|
1643
|
+
exclude?: string[];
|
1644
|
+
resourcesUrl?: string;
|
1645
|
+
syncQueue?: boolean;
|
1646
|
+
transformTagName?: (tagName: string) => string;
|
1647
|
+
jmp?: (c: Function) => any;
|
1648
|
+
raf?: (c: FrameRequestCallback) => number;
|
1649
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
1650
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
1651
|
+
ce?: (eventName: string, opts?: any) => CustomEvent;
|
1652
|
+
}
|