tungsten 0.1.46 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components.d.ts +6 -2
- package/dist/Components.d.ts.map +1 -1
- package/dist/Components.js +40 -14
- package/dist/CssNames.js +1 -1
- package/dist/DomPointer.js +1 -1
- package/dist/DomRegion.d.ts +1 -0
- package/dist/DomRegion.d.ts.map +1 -1
- package/dist/DomRegion.js +14 -2
- package/dist/Framework.js +1 -1
- package/dist/FunctionComponentStandIn.d.ts +1 -0
- package/dist/FunctionComponentStandIn.d.ts.map +1 -1
- package/dist/FunctionComponentStandIn.js +1 -1
- package/dist/Instance/Instance.js +1 -1
- package/dist/NoDeproxy.js +1 -1
- package/dist/Script.js +1 -1
- package/dist/Servers/DevServer.d.ts +1 -0
- package/dist/Servers/DevServer.d.ts.map +1 -1
- package/dist/Servers/DevServer.js +1 -1
- package/dist/Servers/ProdServer.d.ts +1 -0
- package/dist/Servers/ProdServer.d.ts.map +1 -1
- package/dist/Servers/ProdServer.js +1 -1
- package/dist/Servers/StaticSiteServer.d.ts +1 -0
- package/dist/Servers/StaticSiteServer.d.ts.map +1 -1
- package/dist/Servers/StaticSiteServer.js +1 -1
- package/dist/Store/InternalStoreSchema.js +1 -1
- package/dist/Store/makeStore.d.ts.map +1 -1
- package/dist/Store/makeStore.js +3 -3
- package/dist/TungstenError.js +1 -1
- package/dist/TypeExtraction.js +1 -1
- package/dist/_client/cjsHelpers.js +1 -1
- package/dist/_client/routes.d.ts.map +1 -1
- package/dist/_testing/should.d.ts +1 -0
- package/dist/_testing/should.d.ts.map +1 -1
- package/dist/auth/checkPassword.d.ts +1 -0
- package/dist/auth/checkPassword.d.ts.map +1 -1
- package/dist/auth/hashPassword.d.ts +1 -0
- package/dist/auth/hashPassword.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformBindDirect.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformBindDirect.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformBindVar.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformBindVar.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformCjsToEsm.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformCjsToEsm.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformCjsToFunction.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformCjsToFunction.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformCjsToFunction2.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformComponentState.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformComponentState.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformComponentState.js +2 -2
- package/dist/babelPlugins/BabelTransformComponentStyles.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformCssImport.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformDependencyImportsCjs.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformDependencyImportsEsm.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformDependencyImportsOld.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformDeproxyState.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformDeproxyState.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformJsxExtensionsToJs.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformPackageImports.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformReactive.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformReactive.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformReactiveSvelteStyle.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformReactiveSvelteStyle.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformRemoveBlocks.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformRemoveServerBlocks.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformSxyFrameworkImports.d.ts.map +1 -1
- package/dist/babelPlugins/BabelTransformUniqueComponents.d.ts +0 -1
- package/dist/babelPlugins/BabelTransformUniqueComponents.d.ts.map +1 -1
- package/dist/browserStorage.d.ts.map +1 -1
- package/dist/browserStorage.js +3 -3
- package/dist/calculateImportedStaticFileLocations.js +1 -1
- package/dist/clone.d.ts +6 -0
- package/dist/clone.d.ts.map +1 -0
- package/dist/clone.js +19 -0
- package/dist/clone.sxyt.d.ts +2 -0
- package/dist/clone.sxyt.d.ts.map +1 -0
- package/dist/clone.sxyt.js +24 -0
- package/dist/componentProxyHandlers.d.ts +5 -0
- package/dist/componentProxyHandlers.d.ts.map +1 -1
- package/dist/componentProxyHandlers.js +61 -19
- package/dist/components/Await.js +1 -1
- package/dist/components/GoToComponent.js +1 -1
- package/dist/components/Lazy.js +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Stylesheet.js +1 -1
- package/dist/components/bindable/BindableCheckbox.js +1 -1
- package/dist/components/bindable/BindableInput.js +1 -1
- package/dist/components/bindable/BindableInputNonString.js +1 -1
- package/dist/components/bindable/BindableInputString.js +1 -1
- package/dist/components/bindable/BindableInputTyped.js +1 -1
- package/dist/components/bindable/BindableInputTypedLegacy.js +1 -1
- package/dist/components/bindable/BindableRadio.d.ts +14 -0
- package/dist/components/bindable/BindableRadio.d.ts.map +1 -0
- package/dist/components/bindable/BindableRadio.js +20 -0
- package/dist/components/bindable/BindableSelect.js +1 -1
- package/dist/components/bindable/BindableTextarea.js +1 -1
- package/dist/env/Env.d.ts +2 -0
- package/dist/env/Env.d.ts.map +1 -0
- package/dist/env/{interfaces.d.ts → Interfaces.d.ts} +1 -1
- package/dist/env/Interfaces.d.ts.map +1 -0
- package/dist/getEnvSchemas.d.ts.map +1 -1
- package/dist/getEnvSchemas.js +1 -1
- package/dist/hasDomain.d.ts.map +1 -1
- package/dist/hooks/useCallback.js +1 -1
- package/dist/hooks/useMemo.js +1 -1
- package/dist/hydrate/hydrate.js +61 -14
- package/dist/indexInner.d.ts +2 -0
- package/dist/indexInner.d.ts.map +1 -1
- package/dist/indexInner.js +2 -0
- package/dist/makeServerRpc.d.ts.map +1 -1
- package/dist/objectMap.d.ts.map +1 -1
- package/dist/render/getFunctionBodyAsString.js +1 -1
- package/dist/render/instantiateClassComponent.d.ts +1 -2
- package/dist/render/instantiateClassComponent.d.ts.map +1 -1
- package/dist/render/processRenderingNodeHtml.d.ts.map +1 -1
- package/dist/render/processRenderingNodeHtml.js +5 -0
- package/dist/requests/fetch/delete.d.ts +2 -1
- package/dist/requests/fetch/delete.d.ts.map +1 -1
- package/dist/requests/fetch/get.d.ts +2 -1
- package/dist/requests/fetch/get.d.ts.map +1 -1
- package/dist/requests/fetch/patch.d.ts +2 -1
- package/dist/requests/fetch/patch.d.ts.map +1 -1
- package/dist/requests/fetch/post.d.ts +2 -1
- package/dist/requests/fetch/post.d.ts.map +1 -1
- package/dist/requests/fetch/put.d.ts +2 -1
- package/dist/requests/fetch/put.d.ts.map +1 -1
- package/dist/routing/Default404.js +1 -1
- package/dist/routing/Group.js +1 -1
- package/dist/routing/MatchedRoute.js +1 -1
- package/dist/routing/RoutingRedirect.js +1 -1
- package/dist/spawnShellCommand.d.ts +1 -0
- package/dist/spawnShellCommand.d.ts.map +1 -1
- package/dist/staticGen/staticGen.d.ts.map +1 -1
- package/dist/staticGen/staticGen.js +1 -1
- package/dist/update/integrateUpdateVdom.d.ts.map +1 -1
- package/dist/update/integrateUpdateVdom.js +26 -1
- package/package.json +13 -13
- package/types/index.d.ts +49 -49
- package/types/jsx/html.d.ts +1514 -1514
- package/dist/env/env.d.ts +0 -2
- package/dist/env/env.d.ts.map +0 -1
- package/dist/env/interfaces.d.ts.map +0 -1
- /package/dist/env/{env.js → Env.js} +0 -0
- /package/dist/env/{interfaces.js → Interfaces.js} +0 -0
package/types/jsx/html.d.ts
CHANGED
|
@@ -1,1514 +1,1514 @@
|
|
|
1
|
-
|
|
2
|
-
import type * as CSS from 'csstype'
|
|
3
|
-
|
|
4
|
-
import type { BindVariable } from 'tungsten/components/bindable/BindVariable.js'
|
|
5
|
-
import type { ContentNode } from 'tungsten/ContentNode.js'
|
|
6
|
-
import type { TrustedHTML } from './html.global.js'
|
|
7
|
-
import type { Booleanish } from './html.values.js'
|
|
8
|
-
import type {
|
|
9
|
-
AnimationEventHandler, ButtonMouseEvent, ChangeEventHandler, ClipboardEventHandler, CompositionEventHandler,
|
|
10
|
-
DragEventHandler, ExtendedKeyboardEvent, ExtendedMouseEvent, ExtendedUIEvent, FocusEventHandler, FormEventHandler, InputKeyboardEvent, KeyboardEventHandler, MouseEventHandler,
|
|
11
|
-
PointerEventHandler, TungstenEventHandler, SyntheticEvent, TextareaKeyboardEvent, TouchEventHandler, TransitionEventHandler, UIEventHandler,
|
|
12
|
-
WheelEventHandler
|
|
13
|
-
} from './html.events.js'
|
|
14
|
-
|
|
15
|
-
//type Events =
|
|
16
|
-
type FilterFuncString<TheEvent extends Event | SyntheticEvent, T> = (newValue: string, event: TheEvent) => T
|
|
17
|
-
type FilterFuncNumber<TheEvent extends Event | SyntheticEvent, T> = (newValue: number, event: TheEvent) => T
|
|
18
|
-
type FilterCheckedFunc<TheEvent extends Event | SyntheticEvent, T> = (newValue: boolean, event: TheEvent) => T
|
|
19
|
-
type FilterSelectFunc<TheEvent extends Event | SyntheticEvent, O, T> = (newValue: O, event: TheEvent) => T
|
|
20
|
-
|
|
21
|
-
//type Bind = string | ReadonlyArray<string> | number | undefined;
|
|
22
|
-
//type Bind<BO extends object> = BindVariable<BO>
|
|
23
|
-
|
|
24
|
-
interface CSSProperties extends CSS.Properties<string | number> {
|
|
25
|
-
/**
|
|
26
|
-
* The index signature was removed to enable closed typing for style
|
|
27
|
-
* using CSSType. You're able to use type assertion or module augmentation
|
|
28
|
-
* to add properties or an index signature of your own.
|
|
29
|
-
*
|
|
30
|
-
* For examples and more information, visit:
|
|
31
|
-
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
|
32
|
-
*/
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface DOMAttributes<T> {
|
|
36
|
-
// children?: string | undefined;
|
|
37
|
-
// ContentNode[] is a hack to make typescript accept arrays as children
|
|
38
|
-
// (should already be covered by ContentNode, which allows arrays of ContentNodeSingle)
|
|
39
|
-
children?: ContentNode | ContentNode[] | undefined;
|
|
40
|
-
dangerouslySetInnerHTML?: {
|
|
41
|
-
// Should be InnerHTML['innerHTML'].
|
|
42
|
-
// But unfortunately we're mixing renderer-specific type declarations.
|
|
43
|
-
__html: string | TrustedHTML;
|
|
44
|
-
} | undefined;
|
|
45
|
-
|
|
46
|
-
// Clipboard Events
|
|
47
|
-
onCopy?: ClipboardEventHandler<T> | undefined;
|
|
48
|
-
onCopyCapture?: ClipboardEventHandler<T> | undefined;
|
|
49
|
-
onCut?: ClipboardEventHandler<T> | undefined;
|
|
50
|
-
onCutCapture?: ClipboardEventHandler<T> | undefined;
|
|
51
|
-
onPaste?: ClipboardEventHandler<T> | undefined;
|
|
52
|
-
onPasteCapture?: ClipboardEventHandler<T> | undefined;
|
|
53
|
-
|
|
54
|
-
// Composition Events
|
|
55
|
-
onCompositionEnd?: CompositionEventHandler<T> | undefined;
|
|
56
|
-
onCompositionEndCapture?: CompositionEventHandler<T> | undefined;
|
|
57
|
-
onCompositionStart?: CompositionEventHandler<T> | undefined;
|
|
58
|
-
onCompositionStartCapture?: CompositionEventHandler<T> | undefined;
|
|
59
|
-
onCompositionUpdate?: CompositionEventHandler<T> | undefined;
|
|
60
|
-
onCompositionUpdateCapture?: CompositionEventHandler<T> | undefined;
|
|
61
|
-
|
|
62
|
-
// Focus Events
|
|
63
|
-
onFocus?: FocusEventHandler<T> | undefined;
|
|
64
|
-
onFocusCapture?: FocusEventHandler<T> | undefined;
|
|
65
|
-
onBlur?: FocusEventHandler<T> | undefined;
|
|
66
|
-
onBlurCapture?: FocusEventHandler<T> | undefined;
|
|
67
|
-
|
|
68
|
-
// Form Events
|
|
69
|
-
onChange?: FormEventHandler<T> | undefined;
|
|
70
|
-
onChangeCapture?: FormEventHandler<T> | undefined;
|
|
71
|
-
onBeforeInput?: FormEventHandler<T> | undefined;
|
|
72
|
-
onBeforeInputCapture?: FormEventHandler<T> | undefined;
|
|
73
|
-
onInput?: FormEventHandler<T> | undefined;
|
|
74
|
-
onInputCapture?: FormEventHandler<T> | undefined;
|
|
75
|
-
onReset?: FormEventHandler<T> | undefined;
|
|
76
|
-
onResetCapture?: FormEventHandler<T> | undefined;
|
|
77
|
-
onSubmit?: FormEventHandler<T> | undefined;
|
|
78
|
-
onSubmitCapture?: FormEventHandler<T> | undefined;
|
|
79
|
-
onInvalid?: FormEventHandler<T> | undefined;
|
|
80
|
-
onInvalidCapture?: FormEventHandler<T> | undefined;
|
|
81
|
-
|
|
82
|
-
// Image Events
|
|
83
|
-
onLoad?: TungstenEventHandler<T> | undefined;
|
|
84
|
-
onLoadCapture?: TungstenEventHandler<T> | undefined;
|
|
85
|
-
onError?: TungstenEventHandler<T> | undefined; // also a Media Event
|
|
86
|
-
onErrorCapture?: TungstenEventHandler<T> | undefined; // also a Media Event
|
|
87
|
-
|
|
88
|
-
// Keyboard Events
|
|
89
|
-
onKeyDown?: KeyboardEventHandler<T> | undefined;
|
|
90
|
-
onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
|
|
91
|
-
/** @deprecated */
|
|
92
|
-
onKeyPress?: KeyboardEventHandler<T> | undefined;
|
|
93
|
-
/** @deprecated */
|
|
94
|
-
onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
|
|
95
|
-
onKeyUp?: KeyboardEventHandler<T> | undefined;
|
|
96
|
-
onKeyUpCapture?: KeyboardEventHandler<T> | undefined;
|
|
97
|
-
|
|
98
|
-
// Media Events
|
|
99
|
-
onAbort?: TungstenEventHandler<T> | undefined;
|
|
100
|
-
onAbortCapture?: TungstenEventHandler<T> | undefined;
|
|
101
|
-
onCanPlay?: TungstenEventHandler<T> | undefined;
|
|
102
|
-
onCanPlayCapture?: TungstenEventHandler<T> | undefined;
|
|
103
|
-
onCanPlayThrough?: TungstenEventHandler<T> | undefined;
|
|
104
|
-
onCanPlayThroughCapture?: TungstenEventHandler<T> | undefined;
|
|
105
|
-
onDurationChange?: TungstenEventHandler<T> | undefined;
|
|
106
|
-
onDurationChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
107
|
-
onEmptied?: TungstenEventHandler<T> | undefined;
|
|
108
|
-
onEmptiedCapture?: TungstenEventHandler<T> | undefined;
|
|
109
|
-
onEncrypted?: TungstenEventHandler<T> | undefined;
|
|
110
|
-
onEncryptedCapture?: TungstenEventHandler<T> | undefined;
|
|
111
|
-
onEnded?: TungstenEventHandler<T> | undefined;
|
|
112
|
-
onEndedCapture?: TungstenEventHandler<T> | undefined;
|
|
113
|
-
onLoadedData?: TungstenEventHandler<T> | undefined;
|
|
114
|
-
onLoadedDataCapture?: TungstenEventHandler<T> | undefined;
|
|
115
|
-
onLoadedMetadata?: TungstenEventHandler<T> | undefined;
|
|
116
|
-
onLoadedMetadataCapture?: TungstenEventHandler<T> | undefined;
|
|
117
|
-
onLoadStart?: TungstenEventHandler<T> | undefined;
|
|
118
|
-
onLoadStartCapture?: TungstenEventHandler<T> | undefined;
|
|
119
|
-
onPause?: TungstenEventHandler<T> | undefined;
|
|
120
|
-
onPauseCapture?: TungstenEventHandler<T> | undefined;
|
|
121
|
-
onPlay?: TungstenEventHandler<T> | undefined;
|
|
122
|
-
onPlayCapture?: TungstenEventHandler<T> | undefined;
|
|
123
|
-
onPlaying?: TungstenEventHandler<T> | undefined;
|
|
124
|
-
onPlayingCapture?: TungstenEventHandler<T> | undefined;
|
|
125
|
-
onProgress?: TungstenEventHandler<T> | undefined;
|
|
126
|
-
onProgressCapture?: TungstenEventHandler<T> | undefined;
|
|
127
|
-
onRateChange?: TungstenEventHandler<T> | undefined;
|
|
128
|
-
onRateChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
129
|
-
onResize?: TungstenEventHandler<T> | undefined;
|
|
130
|
-
onResizeCapture?: TungstenEventHandler<T> | undefined;
|
|
131
|
-
onSeeked?: TungstenEventHandler<T> | undefined;
|
|
132
|
-
onSeekedCapture?: TungstenEventHandler<T> | undefined;
|
|
133
|
-
onSeeking?: TungstenEventHandler<T> | undefined;
|
|
134
|
-
onSeekingCapture?: TungstenEventHandler<T> | undefined;
|
|
135
|
-
onStalled?: TungstenEventHandler<T> | undefined;
|
|
136
|
-
onStalledCapture?: TungstenEventHandler<T> | undefined;
|
|
137
|
-
onSuspend?: TungstenEventHandler<T> | undefined;
|
|
138
|
-
onSuspendCapture?: TungstenEventHandler<T> | undefined;
|
|
139
|
-
onTimeUpdate?: TungstenEventHandler<T> | undefined;
|
|
140
|
-
onTimeUpdateCapture?: TungstenEventHandler<T> | undefined;
|
|
141
|
-
onVolumeChange?: TungstenEventHandler<T> | undefined;
|
|
142
|
-
onVolumeChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
143
|
-
onWaiting?: TungstenEventHandler<T> | undefined;
|
|
144
|
-
onWaitingCapture?: TungstenEventHandler<T> | undefined;
|
|
145
|
-
|
|
146
|
-
// MouseEvents
|
|
147
|
-
onAuxClick?: MouseEventHandler<T> | undefined;
|
|
148
|
-
onAuxClickCapture?: MouseEventHandler<T> | undefined;
|
|
149
|
-
onClick?: MouseEventHandler<T> | undefined;
|
|
150
|
-
onClickCapture?: MouseEventHandler<T> | undefined;
|
|
151
|
-
onContextMenu?: MouseEventHandler<T> | undefined;
|
|
152
|
-
onContextMenuCapture?: MouseEventHandler<T> | undefined;
|
|
153
|
-
onDoubleClick?: MouseEventHandler<T> | undefined;
|
|
154
|
-
onDoubleClickCapture?: MouseEventHandler<T> | undefined;
|
|
155
|
-
onDrag?: DragEventHandler<T> | undefined;
|
|
156
|
-
onDragCapture?: DragEventHandler<T> | undefined;
|
|
157
|
-
onDragEnd?: DragEventHandler<T> | undefined;
|
|
158
|
-
onDragEndCapture?: DragEventHandler<T> | undefined;
|
|
159
|
-
onDragEnter?: DragEventHandler<T> | undefined;
|
|
160
|
-
onDragEnterCapture?: DragEventHandler<T> | undefined;
|
|
161
|
-
onDragExit?: DragEventHandler<T> | undefined;
|
|
162
|
-
onDragExitCapture?: DragEventHandler<T> | undefined;
|
|
163
|
-
onDragLeave?: DragEventHandler<T> | undefined;
|
|
164
|
-
onDragLeaveCapture?: DragEventHandler<T> | undefined;
|
|
165
|
-
onDragOver?: DragEventHandler<T> | undefined;
|
|
166
|
-
onDragOverCapture?: DragEventHandler<T> | undefined;
|
|
167
|
-
onDragStart?: DragEventHandler<T> | undefined;
|
|
168
|
-
onDragStartCapture?: DragEventHandler<T> | undefined;
|
|
169
|
-
onDrop?: DragEventHandler<T> | undefined;
|
|
170
|
-
onDropCapture?: DragEventHandler<T> | undefined;
|
|
171
|
-
onMouseDown?: MouseEventHandler<T> | undefined;
|
|
172
|
-
onMouseDownCapture?: MouseEventHandler<T> | undefined;
|
|
173
|
-
onMouseEnter?: MouseEventHandler<T> | undefined;
|
|
174
|
-
onMouseLeave?: MouseEventHandler<T> | undefined;
|
|
175
|
-
onMouseMove?: MouseEventHandler<T> | undefined;
|
|
176
|
-
onMouseMoveCapture?: MouseEventHandler<T> | undefined;
|
|
177
|
-
onMouseOut?: MouseEventHandler<T> | undefined;
|
|
178
|
-
onMouseOutCapture?: MouseEventHandler<T> | undefined;
|
|
179
|
-
onMouseOver?: MouseEventHandler<T> | undefined;
|
|
180
|
-
onMouseOverCapture?: MouseEventHandler<T> | undefined;
|
|
181
|
-
onMouseUp?: MouseEventHandler<T> | undefined;
|
|
182
|
-
onMouseUpCapture?: MouseEventHandler<T> | undefined;
|
|
183
|
-
|
|
184
|
-
// Selection Events
|
|
185
|
-
onSelect?: TungstenEventHandler<T> | undefined;
|
|
186
|
-
onSelectCapture?: TungstenEventHandler<T> | undefined;
|
|
187
|
-
|
|
188
|
-
// Touch Events
|
|
189
|
-
onTouchCancel?: TouchEventHandler<T> | undefined;
|
|
190
|
-
onTouchCancelCapture?: TouchEventHandler<T> | undefined;
|
|
191
|
-
onTouchEnd?: TouchEventHandler<T> | undefined;
|
|
192
|
-
onTouchEndCapture?: TouchEventHandler<T> | undefined;
|
|
193
|
-
onTouchMove?: TouchEventHandler<T> | undefined;
|
|
194
|
-
onTouchMoveCapture?: TouchEventHandler<T> | undefined;
|
|
195
|
-
onTouchStart?: TouchEventHandler<T> | undefined;
|
|
196
|
-
onTouchStartCapture?: TouchEventHandler<T> | undefined;
|
|
197
|
-
|
|
198
|
-
// Pointer Events
|
|
199
|
-
onPointerDown?: PointerEventHandler<T> | undefined;
|
|
200
|
-
onPointerDownCapture?: PointerEventHandler<T> | undefined;
|
|
201
|
-
onPointerMove?: PointerEventHandler<T> | undefined;
|
|
202
|
-
onPointerMoveCapture?: PointerEventHandler<T> | undefined;
|
|
203
|
-
onPointerUp?: PointerEventHandler<T> | undefined;
|
|
204
|
-
onPointerUpCapture?: PointerEventHandler<T> | undefined;
|
|
205
|
-
onPointerCancel?: PointerEventHandler<T> | undefined;
|
|
206
|
-
onPointerCancelCapture?: PointerEventHandler<T> | undefined;
|
|
207
|
-
onPointerEnter?: PointerEventHandler<T> | undefined;
|
|
208
|
-
onPointerEnterCapture?: PointerEventHandler<T> | undefined;
|
|
209
|
-
onPointerLeave?: PointerEventHandler<T> | undefined;
|
|
210
|
-
onPointerLeaveCapture?: PointerEventHandler<T> | undefined;
|
|
211
|
-
onPointerOver?: PointerEventHandler<T> | undefined;
|
|
212
|
-
onPointerOverCapture?: PointerEventHandler<T> | undefined;
|
|
213
|
-
onPointerOut?: PointerEventHandler<T> | undefined;
|
|
214
|
-
onPointerOutCapture?: PointerEventHandler<T> | undefined;
|
|
215
|
-
onGotPointerCapture?: PointerEventHandler<T> | undefined;
|
|
216
|
-
onGotPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
217
|
-
onLostPointerCapture?: PointerEventHandler<T> | undefined;
|
|
218
|
-
onLostPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
219
|
-
|
|
220
|
-
// UI Events
|
|
221
|
-
onScroll?: UIEventHandler<T> | undefined;
|
|
222
|
-
onScrollCapture?: UIEventHandler<T> | undefined;
|
|
223
|
-
|
|
224
|
-
// Wheel Events
|
|
225
|
-
onWheel?: WheelEventHandler<T> | undefined;
|
|
226
|
-
onWheelCapture?: WheelEventHandler<T> | undefined;
|
|
227
|
-
|
|
228
|
-
// Animation Events
|
|
229
|
-
onAnimationStart?: AnimationEventHandler<T> | undefined;
|
|
230
|
-
onAnimationStartCapture?: AnimationEventHandler<T> | undefined;
|
|
231
|
-
onAnimationEnd?: AnimationEventHandler<T> | undefined;
|
|
232
|
-
onAnimationEndCapture?: AnimationEventHandler<T> | undefined;
|
|
233
|
-
onAnimationIteration?: AnimationEventHandler<T> | undefined;
|
|
234
|
-
onAnimationIterationCapture?: AnimationEventHandler<T> | undefined;
|
|
235
|
-
|
|
236
|
-
// Transition Events
|
|
237
|
-
onTransitionEnd?: TransitionEventHandler<T> | undefined;
|
|
238
|
-
onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
|
|
242
|
-
interface AriaAttributes {
|
|
243
|
-
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
244
|
-
'aria-activedescendant'?: string | undefined;
|
|
245
|
-
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
246
|
-
'aria-atomic'?: Booleanish | undefined;
|
|
247
|
-
/**
|
|
248
|
-
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
249
|
-
* presented if they are made.
|
|
250
|
-
*/
|
|
251
|
-
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
|
|
252
|
-
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
253
|
-
/**
|
|
254
|
-
* Defines a string value that labels the current element, which is intended to be converted into Braille.
|
|
255
|
-
* @see aria-label.
|
|
256
|
-
*/
|
|
257
|
-
'aria-braillelabel'?: string | undefined;
|
|
258
|
-
/**
|
|
259
|
-
* Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
|
|
260
|
-
* @see aria-roledescription.
|
|
261
|
-
*/
|
|
262
|
-
'aria-brailleroledescription'?: string | undefined;
|
|
263
|
-
'aria-busy'?: Booleanish | undefined;
|
|
264
|
-
/**
|
|
265
|
-
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
266
|
-
* @see aria-pressed @see aria-selected.
|
|
267
|
-
*/
|
|
268
|
-
'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
269
|
-
/**
|
|
270
|
-
* Defines the total number of columns in a table, grid, or treegrid.
|
|
271
|
-
* @see aria-colindex.
|
|
272
|
-
*/
|
|
273
|
-
'aria-colcount'?: number | undefined;
|
|
274
|
-
/**
|
|
275
|
-
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
276
|
-
* @see aria-colcount @see aria-colspan.
|
|
277
|
-
*/
|
|
278
|
-
'aria-colindex'?: number | undefined;
|
|
279
|
-
/**
|
|
280
|
-
* Defines a human readable text alternative of aria-colindex.
|
|
281
|
-
* @see aria-rowindextext.
|
|
282
|
-
*/
|
|
283
|
-
'aria-colindextext'?: string | undefined;
|
|
284
|
-
/**
|
|
285
|
-
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
286
|
-
* @see aria-colindex @see aria-rowspan.
|
|
287
|
-
*/
|
|
288
|
-
'aria-colspan'?: number | undefined;
|
|
289
|
-
/**
|
|
290
|
-
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
291
|
-
* @see aria-owns.
|
|
292
|
-
*/
|
|
293
|
-
'aria-controls'?: string | undefined;
|
|
294
|
-
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
295
|
-
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
|
|
296
|
-
/**
|
|
297
|
-
* Identifies the element (or elements) that describes the object.
|
|
298
|
-
* @see aria-labelledby
|
|
299
|
-
*/
|
|
300
|
-
'aria-describedby'?: string | undefined;
|
|
301
|
-
/**
|
|
302
|
-
* Defines a string value that describes or annotates the current element.
|
|
303
|
-
* @see related aria-describedby.
|
|
304
|
-
*/
|
|
305
|
-
'aria-description'?: string | undefined;
|
|
306
|
-
/**
|
|
307
|
-
* Identifies the element that provides a detailed, extended description for the object.
|
|
308
|
-
* @see aria-describedby.
|
|
309
|
-
*/
|
|
310
|
-
'aria-details'?: string | undefined;
|
|
311
|
-
/**
|
|
312
|
-
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
313
|
-
* @see aria-hidden @see aria-readonly.
|
|
314
|
-
*/
|
|
315
|
-
'aria-disabled'?: Booleanish | undefined;
|
|
316
|
-
/**
|
|
317
|
-
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
318
|
-
* @deprecated in ARIA 1.1
|
|
319
|
-
*/
|
|
320
|
-
'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined;
|
|
321
|
-
/**
|
|
322
|
-
* Identifies the element that provides an error message for the object.
|
|
323
|
-
* @see aria-invalid @see aria-describedby.
|
|
324
|
-
*/
|
|
325
|
-
'aria-errormessage'?: string | undefined;
|
|
326
|
-
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
327
|
-
'aria-expanded'?: Booleanish | undefined;
|
|
328
|
-
/**
|
|
329
|
-
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
330
|
-
* allows assistive technology to override the general default of reading in document source order.
|
|
331
|
-
*/
|
|
332
|
-
'aria-flowto'?: string | undefined;
|
|
333
|
-
/**
|
|
334
|
-
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
335
|
-
* @deprecated in ARIA 1.1
|
|
336
|
-
*/
|
|
337
|
-
'aria-grabbed'?: Booleanish | undefined;
|
|
338
|
-
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
339
|
-
'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
|
|
340
|
-
/**
|
|
341
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
342
|
-
* @see aria-disabled.
|
|
343
|
-
*/
|
|
344
|
-
'aria-hidden'?: Booleanish | undefined;
|
|
345
|
-
/**
|
|
346
|
-
* Indicates the entered value does not conform to the format expected by the application.
|
|
347
|
-
* @see aria-errormessage.
|
|
348
|
-
*/
|
|
349
|
-
'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
|
|
350
|
-
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
351
|
-
'aria-keyshortcuts'?: string | undefined;
|
|
352
|
-
/**
|
|
353
|
-
* Defines a string value that labels the current element.
|
|
354
|
-
* @see aria-labelledby.
|
|
355
|
-
*/
|
|
356
|
-
'aria-label'?: string | undefined;
|
|
357
|
-
/**
|
|
358
|
-
* Identifies the element (or elements) that labels the current element.
|
|
359
|
-
* @see aria-describedby.
|
|
360
|
-
*/
|
|
361
|
-
'aria-labelledby'?: string | undefined;
|
|
362
|
-
/** Defines the hierarchical level of an element within a structure. */
|
|
363
|
-
'aria-level'?: number | undefined;
|
|
364
|
-
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
365
|
-
'aria-live'?: 'off' | 'assertive' | 'polite' | undefined;
|
|
366
|
-
/** Indicates whether an element is modal when displayed. */
|
|
367
|
-
'aria-modal'?: Booleanish | undefined;
|
|
368
|
-
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
369
|
-
'aria-multiline'?: Booleanish | undefined;
|
|
370
|
-
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
371
|
-
'aria-multiselectable'?: Booleanish | undefined;
|
|
372
|
-
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
373
|
-
'aria-orientation'?: 'horizontal' | 'vertical' | undefined;
|
|
374
|
-
/**
|
|
375
|
-
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
376
|
-
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
377
|
-
* @see aria-controls.
|
|
378
|
-
*/
|
|
379
|
-
'aria-owns'?: string | undefined;
|
|
380
|
-
/**
|
|
381
|
-
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
382
|
-
* A hint could be a sample value or a brief description of the expected format.
|
|
383
|
-
*/
|
|
384
|
-
'aria-placeholder'?: string | undefined;
|
|
385
|
-
/**
|
|
386
|
-
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
387
|
-
* @see aria-setsize.
|
|
388
|
-
*/
|
|
389
|
-
'aria-posinset'?: number | undefined;
|
|
390
|
-
/**
|
|
391
|
-
* Indicates the current "pressed" state of toggle buttons.
|
|
392
|
-
* @see aria-checked @see aria-selected.
|
|
393
|
-
*/
|
|
394
|
-
'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
395
|
-
/**
|
|
396
|
-
* Indicates that the element is not editable, but is otherwise operable.
|
|
397
|
-
* @see aria-disabled.
|
|
398
|
-
*/
|
|
399
|
-
'aria-readonly'?: Booleanish | undefined;
|
|
400
|
-
/**
|
|
401
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
402
|
-
* @see aria-atomic.
|
|
403
|
-
*/
|
|
404
|
-
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined;
|
|
405
|
-
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
406
|
-
'aria-required'?: Booleanish | undefined;
|
|
407
|
-
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
408
|
-
'aria-roledescription'?: string | undefined;
|
|
409
|
-
/**
|
|
410
|
-
* Defines the total number of rows in a table, grid, or treegrid.
|
|
411
|
-
* @see aria-rowindex.
|
|
412
|
-
*/
|
|
413
|
-
'aria-rowcount'?: number | undefined;
|
|
414
|
-
/**
|
|
415
|
-
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
416
|
-
* @see aria-rowcount @see aria-rowspan.
|
|
417
|
-
*/
|
|
418
|
-
'aria-rowindex'?: number | undefined;
|
|
419
|
-
/**
|
|
420
|
-
* Defines a human readable text alternative of aria-rowindex.
|
|
421
|
-
* @see aria-colindextext.
|
|
422
|
-
*/
|
|
423
|
-
'aria-rowindextext'?: string | undefined;
|
|
424
|
-
/**
|
|
425
|
-
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
426
|
-
* @see aria-rowindex @see aria-colspan.
|
|
427
|
-
*/
|
|
428
|
-
'aria-rowspan'?: number | undefined;
|
|
429
|
-
/**
|
|
430
|
-
* Indicates the current "selected" state of various widgets.
|
|
431
|
-
* @see aria-checked @see aria-pressed.
|
|
432
|
-
*/
|
|
433
|
-
'aria-selected'?: Booleanish | undefined;
|
|
434
|
-
/**
|
|
435
|
-
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
436
|
-
* @see aria-posinset.
|
|
437
|
-
*/
|
|
438
|
-
'aria-setsize'?: number | undefined;
|
|
439
|
-
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
440
|
-
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined;
|
|
441
|
-
/** Defines the maximum allowed value for a range widget. */
|
|
442
|
-
'aria-valuemax'?: number | undefined;
|
|
443
|
-
/** Defines the minimum allowed value for a range widget. */
|
|
444
|
-
'aria-valuemin'?: number | undefined;
|
|
445
|
-
/**
|
|
446
|
-
* Defines the current value for a range widget.
|
|
447
|
-
* @see aria-valuetext.
|
|
448
|
-
*/
|
|
449
|
-
'aria-valuenow'?: number | undefined;
|
|
450
|
-
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
451
|
-
'aria-valuetext'?: string | undefined;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
// All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
|
|
455
|
-
type AriaRole =
|
|
456
|
-
| 'alert'
|
|
457
|
-
| 'alertdialog'
|
|
458
|
-
| 'application'
|
|
459
|
-
| 'article'
|
|
460
|
-
| 'banner'
|
|
461
|
-
| 'button'
|
|
462
|
-
| 'cell'
|
|
463
|
-
| 'checkbox'
|
|
464
|
-
| 'columnheader'
|
|
465
|
-
| 'combobox'
|
|
466
|
-
| 'complementary'
|
|
467
|
-
| 'contentinfo'
|
|
468
|
-
| 'definition'
|
|
469
|
-
| 'dialog'
|
|
470
|
-
| 'directory'
|
|
471
|
-
| 'document'
|
|
472
|
-
| 'feed'
|
|
473
|
-
| 'figure'
|
|
474
|
-
| 'form'
|
|
475
|
-
| 'grid'
|
|
476
|
-
| 'gridcell'
|
|
477
|
-
| 'group'
|
|
478
|
-
| 'heading'
|
|
479
|
-
| 'img'
|
|
480
|
-
| 'link'
|
|
481
|
-
| 'list'
|
|
482
|
-
| 'listbox'
|
|
483
|
-
| 'listitem'
|
|
484
|
-
| 'log'
|
|
485
|
-
| 'main'
|
|
486
|
-
| 'marquee'
|
|
487
|
-
| 'math'
|
|
488
|
-
| 'menu'
|
|
489
|
-
| 'menubar'
|
|
490
|
-
| 'menuitem'
|
|
491
|
-
| 'menuitemcheckbox'
|
|
492
|
-
| 'menuitemradio'
|
|
493
|
-
| 'navigation'
|
|
494
|
-
| 'none'
|
|
495
|
-
| 'note'
|
|
496
|
-
| 'option'
|
|
497
|
-
| 'presentation'
|
|
498
|
-
| 'progressbar'
|
|
499
|
-
| 'radio'
|
|
500
|
-
| 'radiogroup'
|
|
501
|
-
| 'region'
|
|
502
|
-
| 'row'
|
|
503
|
-
| 'rowgroup'
|
|
504
|
-
| 'rowheader'
|
|
505
|
-
| 'scrollbar'
|
|
506
|
-
| 'search'
|
|
507
|
-
| 'searchbox'
|
|
508
|
-
| 'separator'
|
|
509
|
-
| 'slider'
|
|
510
|
-
| 'spinbutton'
|
|
511
|
-
| 'status'
|
|
512
|
-
| 'switch'
|
|
513
|
-
| 'tab'
|
|
514
|
-
| 'table'
|
|
515
|
-
| 'tablist'
|
|
516
|
-
| 'tabpanel'
|
|
517
|
-
| 'term'
|
|
518
|
-
| 'textbox'
|
|
519
|
-
| 'timer'
|
|
520
|
-
| 'toolbar'
|
|
521
|
-
| 'tooltip'
|
|
522
|
-
| 'tree'
|
|
523
|
-
| 'treegrid'
|
|
524
|
-
| 'treeitem'
|
|
525
|
-
| (string & {})
|
|
526
|
-
|
|
527
|
-
type ClassNameType = string | undefined | (string | undefined)[];
|
|
528
|
-
|
|
529
|
-
export interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
530
|
-
// React-specific Attributes
|
|
531
|
-
defaultChecked?: boolean | undefined;
|
|
532
|
-
defaultValue?: string | number | ReadonlyArray<string> | undefined;
|
|
533
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
534
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
535
|
-
|
|
536
|
-
// Standard HTML Attributes
|
|
537
|
-
accessKey?: string | undefined;
|
|
538
|
-
autoFocus?: boolean | undefined;
|
|
539
|
-
class?: ClassNameType | undefined;
|
|
540
|
-
className?: ClassNameType | undefined;
|
|
541
|
-
contentEditable?: Booleanish | 'inherit' | undefined;
|
|
542
|
-
contextMenu?: string | undefined;
|
|
543
|
-
dir?: string | undefined;
|
|
544
|
-
draggable?: Booleanish | undefined;
|
|
545
|
-
hidden?: boolean | undefined;
|
|
546
|
-
id?: string | undefined;
|
|
547
|
-
lang?: string | undefined;
|
|
548
|
-
nonce?: string | undefined;
|
|
549
|
-
placeholder?: string | undefined;
|
|
550
|
-
slot?: string | undefined;
|
|
551
|
-
spellCheck?: Booleanish | undefined;
|
|
552
|
-
style?: CSSProperties | undefined;
|
|
553
|
-
css?: string | undefined;
|
|
554
|
-
tabIndex?: number | undefined;
|
|
555
|
-
title?: string | undefined;
|
|
556
|
-
translate?: 'yes' | 'no' | undefined;
|
|
557
|
-
|
|
558
|
-
// Unknown
|
|
559
|
-
radioGroup?: string | undefined; // <command>, <menuitem>
|
|
560
|
-
|
|
561
|
-
// WAI-ARIA
|
|
562
|
-
role?: AriaRole | undefined;
|
|
563
|
-
|
|
564
|
-
// RDFa Attributes
|
|
565
|
-
about?: string | undefined;
|
|
566
|
-
content?: string | undefined;
|
|
567
|
-
datatype?: string | undefined;
|
|
568
|
-
inlist?: any;
|
|
569
|
-
prefix?: string | undefined;
|
|
570
|
-
property?: string | undefined;
|
|
571
|
-
rel?: string | undefined;
|
|
572
|
-
resource?: string | undefined;
|
|
573
|
-
rev?: string | undefined;
|
|
574
|
-
typeof?: string | undefined;
|
|
575
|
-
vocab?: string | undefined;
|
|
576
|
-
|
|
577
|
-
// Non-standard Attributes
|
|
578
|
-
autoCapitalize?: string | undefined;
|
|
579
|
-
autoCorrect?: string | undefined;
|
|
580
|
-
autoSave?: string | undefined;
|
|
581
|
-
color?: string | undefined;
|
|
582
|
-
itemProp?: string | undefined;
|
|
583
|
-
itemScope?: boolean | undefined;
|
|
584
|
-
itemType?: string | undefined;
|
|
585
|
-
itemID?: string | undefined;
|
|
586
|
-
itemRef?: string | undefined;
|
|
587
|
-
results?: number | undefined;
|
|
588
|
-
security?: string | undefined;
|
|
589
|
-
unselectable?: 'on' | 'off' | undefined;
|
|
590
|
-
|
|
591
|
-
// Living Standard
|
|
592
|
-
/**
|
|
593
|
-
* Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
594
|
-
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
|
|
595
|
-
*/
|
|
596
|
-
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
|
|
597
|
-
/**
|
|
598
|
-
* Specify that a standard HTML element should behave like a defined custom built-in element
|
|
599
|
-
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
600
|
-
*/
|
|
601
|
-
is?: string | undefined;
|
|
602
|
-
|
|
603
|
-
//assignStyle?: AssignedStyle
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
export type HTMLAttributeAnchorTarget =
|
|
607
|
-
| '_self'
|
|
608
|
-
| '_blank'
|
|
609
|
-
| '_parent'
|
|
610
|
-
| '_top'
|
|
611
|
-
| (string & {});
|
|
612
|
-
|
|
613
|
-
type HTMLAttributeReferrerPolicy =
|
|
614
|
-
| ''
|
|
615
|
-
| 'no-referrer'
|
|
616
|
-
| 'no-referrer-when-downgrade'
|
|
617
|
-
| 'origin'
|
|
618
|
-
| 'origin-when-cross-origin'
|
|
619
|
-
| 'same-origin'
|
|
620
|
-
| 'strict-origin'
|
|
621
|
-
| 'strict-origin-when-cross-origin'
|
|
622
|
-
| 'unsafe-url';
|
|
623
|
-
|
|
624
|
-
export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
625
|
-
download?: any;
|
|
626
|
-
href?: string | undefined;
|
|
627
|
-
hrefLang?: string | undefined;
|
|
628
|
-
media?: string | undefined;
|
|
629
|
-
ping?: string | undefined;
|
|
630
|
-
target?: HTMLAttributeAnchorTarget | undefined;
|
|
631
|
-
type?: string | undefined;
|
|
632
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
636
|
-
|
|
637
|
-
export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
638
|
-
alt?: string | undefined;
|
|
639
|
-
coords?: string | undefined;
|
|
640
|
-
download?: any;
|
|
641
|
-
href?: string | undefined;
|
|
642
|
-
hrefLang?: string | undefined;
|
|
643
|
-
media?: string | undefined;
|
|
644
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
645
|
-
shape?: string | undefined;
|
|
646
|
-
target?: string | undefined;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
650
|
-
href?: string | undefined;
|
|
651
|
-
target?: string | undefined;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
655
|
-
cite?: string | undefined;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
export interface ButtonHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
659
|
-
disabled?: boolean | undefined;
|
|
660
|
-
form?: string | undefined;
|
|
661
|
-
formAction?:
|
|
662
|
-
| string
|
|
663
|
-
//| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS]
|
|
664
|
-
| undefined;
|
|
665
|
-
formEncType?: string | undefined;
|
|
666
|
-
formMethod?: string | undefined;
|
|
667
|
-
formNoValidate?: boolean | undefined;
|
|
668
|
-
formTarget?: string | undefined;
|
|
669
|
-
name?: string | undefined;
|
|
670
|
-
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
671
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
672
|
-
|
|
673
|
-
// tungsten bind
|
|
674
|
-
bind?: BindVariable<BO> | undefined;
|
|
675
|
-
filter?: FilterFuncString<ButtonMouseEvent, unknown> | undefined;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
679
|
-
height?: number | string | undefined;
|
|
680
|
-
width?: number | string | undefined;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
684
|
-
span?: number | undefined;
|
|
685
|
-
width?: number | string | undefined;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
689
|
-
span?: number | undefined;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
export interface DataHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
693
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
694
|
-
|
|
695
|
-
// tungsten bind
|
|
696
|
-
bind?: BindVariable<BO> | undefined;
|
|
697
|
-
filter?: FilterFuncString<any, unknown> | undefined;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
701
|
-
open?: boolean | undefined;
|
|
702
|
-
onToggle?: TungstenEventHandler<T> | undefined;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
706
|
-
cite?: string | undefined;
|
|
707
|
-
dateTime?: string | undefined;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
711
|
-
onCancel?: TungstenEventHandler<T> | undefined;
|
|
712
|
-
onClose?: TungstenEventHandler<T> | undefined;
|
|
713
|
-
open?: boolean | undefined;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
717
|
-
height?: number | string | undefined;
|
|
718
|
-
src?: string | undefined;
|
|
719
|
-
type?: string | undefined;
|
|
720
|
-
width?: number | string | undefined;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
724
|
-
disabled?: boolean | undefined;
|
|
725
|
-
form?: string | undefined;
|
|
726
|
-
name?: string | undefined;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
730
|
-
acceptCharset?: string | undefined;
|
|
731
|
-
action?:
|
|
732
|
-
| string
|
|
733
|
-
| undefined
|
|
734
|
-
//| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS];
|
|
735
|
-
autoComplete?: string | undefined;
|
|
736
|
-
encType?: string | undefined;
|
|
737
|
-
method?: string | undefined;
|
|
738
|
-
name?: string | undefined;
|
|
739
|
-
noValidate?: boolean | undefined;
|
|
740
|
-
target?: string | undefined;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
744
|
-
manifest?: string | undefined;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
748
|
-
allow?: string | undefined;
|
|
749
|
-
allowFullScreen?: boolean | undefined;
|
|
750
|
-
allowTransparency?: boolean | undefined;
|
|
751
|
-
/** @deprecated */
|
|
752
|
-
frameBorder?: number | string | undefined;
|
|
753
|
-
height?: number | string | undefined;
|
|
754
|
-
loading?: 'eager' | 'lazy' | undefined;
|
|
755
|
-
/** @deprecated */
|
|
756
|
-
marginHeight?: number | undefined;
|
|
757
|
-
/** @deprecated */
|
|
758
|
-
marginWidth?: number | undefined;
|
|
759
|
-
name?: string | undefined;
|
|
760
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
761
|
-
sandbox?: string | undefined;
|
|
762
|
-
/** @deprecated */
|
|
763
|
-
scrolling?: string | undefined;
|
|
764
|
-
seamless?: boolean | undefined;
|
|
765
|
-
src?: string | undefined;
|
|
766
|
-
srcDoc?: string | undefined;
|
|
767
|
-
width?: number | string | undefined;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
771
|
-
alt?: string | undefined;
|
|
772
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
773
|
-
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
774
|
-
height?: number | string | undefined;
|
|
775
|
-
loading?: 'eager' | 'lazy' | undefined;
|
|
776
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
777
|
-
sizes?: string | undefined;
|
|
778
|
-
src?: string | undefined;
|
|
779
|
-
srcSet?: string | undefined;
|
|
780
|
-
useMap?: string | undefined;
|
|
781
|
-
width?: number | string | undefined;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
785
|
-
cite?: string | undefined;
|
|
786
|
-
dateTime?: string | undefined;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
export type HTMLInputTypeAttribute =
|
|
790
|
-
| 'button'
|
|
791
|
-
| 'checkbox'
|
|
792
|
-
| 'color'
|
|
793
|
-
| 'date'
|
|
794
|
-
| 'datetime-local'
|
|
795
|
-
| 'email'
|
|
796
|
-
| 'file'
|
|
797
|
-
| 'hidden'
|
|
798
|
-
| 'image'
|
|
799
|
-
| 'month'
|
|
800
|
-
| 'number'
|
|
801
|
-
| 'password'
|
|
802
|
-
| 'radio'
|
|
803
|
-
| 'range'
|
|
804
|
-
| 'reset'
|
|
805
|
-
| 'search'
|
|
806
|
-
| 'submit'
|
|
807
|
-
| 'tel'
|
|
808
|
-
| 'text'
|
|
809
|
-
| 'time'
|
|
810
|
-
| 'url'
|
|
811
|
-
| 'week'
|
|
812
|
-
| (string & {});
|
|
813
|
-
|
|
814
|
-
// interface InputCheckboxHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
815
|
-
// accept?: string | undefined;
|
|
816
|
-
// alt?: string | undefined;
|
|
817
|
-
// autoComplete?: string | undefined;
|
|
818
|
-
// capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
819
|
-
// checked?: boolean | undefined;
|
|
820
|
-
// crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
821
|
-
// disabled?: boolean | undefined;
|
|
822
|
-
// enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
823
|
-
// form?: string | undefined;
|
|
824
|
-
// formAction?: string | undefined;
|
|
825
|
-
// formEncType?: string | undefined;
|
|
826
|
-
// formMethod?: string | undefined;
|
|
827
|
-
// formNoValidate?: boolean | undefined;
|
|
828
|
-
// formTarget?: string | undefined;
|
|
829
|
-
// height?: number | string | undefined;
|
|
830
|
-
// list?: string | undefined;
|
|
831
|
-
// max?: number | string | undefined;
|
|
832
|
-
// maxLength?: number | undefined;
|
|
833
|
-
// min?: number | string | undefined;
|
|
834
|
-
// minLength?: number | undefined;
|
|
835
|
-
// multiple?: boolean | undefined;
|
|
836
|
-
// name?: string | undefined;
|
|
837
|
-
// pattern?: string | undefined;
|
|
838
|
-
// placeholder?: string | undefined;
|
|
839
|
-
// readOnly?: boolean | undefined;
|
|
840
|
-
// required?: boolean | undefined;
|
|
841
|
-
// size?: number | undefined;
|
|
842
|
-
// src?: string | undefined;
|
|
843
|
-
// step?: number | string | undefined;
|
|
844
|
-
// type?: 'checkbox';
|
|
845
|
-
// value?: string | ReadonlyArray<string> | number | undefined;
|
|
846
|
-
// width?: number | string | undefined;
|
|
847
|
-
|
|
848
|
-
// // tungsten bind
|
|
849
|
-
// bind?: BindVariable<BO> | undefined;
|
|
850
|
-
// filter?: FilterFuncCheckbox<InputEvent & InputKeyboardEvent, unknown>;
|
|
851
|
-
|
|
852
|
-
// onChange?: ChangeEventHandler<T> | undefined;
|
|
853
|
-
// }
|
|
854
|
-
// interface InputNonCheckboxHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
855
|
-
// accept?: string | undefined;
|
|
856
|
-
// alt?: string | undefined;
|
|
857
|
-
// autoComplete?: string | undefined;
|
|
858
|
-
// capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
859
|
-
// checked?: boolean | undefined;
|
|
860
|
-
// crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
861
|
-
// disabled?: boolean | undefined;
|
|
862
|
-
// enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
863
|
-
// form?: string | undefined;
|
|
864
|
-
// formAction?: string | undefined;
|
|
865
|
-
// formEncType?: string | undefined;
|
|
866
|
-
// formMethod?: string | undefined;
|
|
867
|
-
// formNoValidate?: boolean | undefined;
|
|
868
|
-
// formTarget?: string | undefined;
|
|
869
|
-
// height?: number | string | undefined;
|
|
870
|
-
// list?: string | undefined;
|
|
871
|
-
// max?: number | string | undefined;
|
|
872
|
-
// maxLength?: number | undefined;
|
|
873
|
-
// min?: number | string | undefined;
|
|
874
|
-
// minLength?: number | undefined;
|
|
875
|
-
// multiple?: boolean | undefined;
|
|
876
|
-
// name?: string | undefined;
|
|
877
|
-
// pattern?: string | undefined;
|
|
878
|
-
// placeholder?: string | undefined;
|
|
879
|
-
// readOnly?: boolean | undefined;
|
|
880
|
-
// required?: boolean | undefined;
|
|
881
|
-
// size?: number | undefined;
|
|
882
|
-
// src?: string | undefined;
|
|
883
|
-
// step?: number | string | undefined;
|
|
884
|
-
// type?: Exclude<HTMLInputTypeAttribute, 'checkbox'> | undefined;
|
|
885
|
-
// value?: string | ReadonlyArray<string> | number | undefined;
|
|
886
|
-
// width?: number | string | undefined;
|
|
887
|
-
|
|
888
|
-
// // tungsten bind
|
|
889
|
-
// bind?: BindVariable<BO> | undefined;
|
|
890
|
-
// filter?: FilterFuncCheckbox<InputEvent & InputKeyboardEvent, unknown>;
|
|
891
|
-
|
|
892
|
-
// onChange?: ChangeEventHandler<T> | undefined;
|
|
893
|
-
// }
|
|
894
|
-
|
|
895
|
-
// export type InputHTMLAttributes<T, BO extends object> = InputCheckboxHTMLAttributes<T, BO> | InputNonCheckboxHTMLAttributes<T, BO>
|
|
896
|
-
|
|
897
|
-
export interface InputHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
898
|
-
accept?: string | undefined;
|
|
899
|
-
alt?: string | undefined;
|
|
900
|
-
autoComplete?: string | undefined;
|
|
901
|
-
capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
902
|
-
checked?: boolean | undefined;
|
|
903
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
904
|
-
disabled?: boolean | undefined;
|
|
905
|
-
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
906
|
-
form?: string | undefined;
|
|
907
|
-
formAction?: string | undefined;
|
|
908
|
-
formEncType?: string | undefined;
|
|
909
|
-
formMethod?: string | undefined;
|
|
910
|
-
formNoValidate?: boolean | undefined;
|
|
911
|
-
formTarget?: string | undefined;
|
|
912
|
-
height?: number | string | undefined;
|
|
913
|
-
list?: string | undefined;
|
|
914
|
-
max?: number | string | undefined;
|
|
915
|
-
maxLength?: number | undefined;
|
|
916
|
-
min?: number | string | undefined;
|
|
917
|
-
minLength?: number | undefined;
|
|
918
|
-
multiple?: boolean | undefined;
|
|
919
|
-
name?: string | undefined;
|
|
920
|
-
pattern?: string | undefined;
|
|
921
|
-
placeholder?: string | undefined;
|
|
922
|
-
readOnly?: boolean | undefined;
|
|
923
|
-
required?: boolean | undefined;
|
|
924
|
-
size?: number | undefined;
|
|
925
|
-
src?: string | undefined;
|
|
926
|
-
step?: number | string | undefined;
|
|
927
|
-
type?: HTMLInputTypeAttribute | undefined;
|
|
928
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
929
|
-
width?: number | string | undefined;
|
|
930
|
-
|
|
931
|
-
// tungsten bind
|
|
932
|
-
//bind?: BindVariable<BO> | undefined;
|
|
933
|
-
//filter?: FilterFuncString<InputEvent & InputKeyboardEvent, unknown> | FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | undefined;
|
|
934
|
-
|
|
935
|
-
//bindChecked?: BindVariable<BO> | undefined;
|
|
936
|
-
//filterChecked?: FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | undefined;
|
|
937
|
-
|
|
938
|
-
onChange?: ChangeEventHandler<T> | undefined;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
942
|
-
challenge?: string | undefined;
|
|
943
|
-
disabled?: boolean | undefined;
|
|
944
|
-
form?: string | undefined;
|
|
945
|
-
keyType?: string | undefined;
|
|
946
|
-
keyParams?: string | undefined;
|
|
947
|
-
name?: string | undefined;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
951
|
-
form?: string | undefined;
|
|
952
|
-
for?: string | undefined;
|
|
953
|
-
htmlFor?: string | undefined;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface LiHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
957
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
958
|
-
|
|
959
|
-
// tungsten bind
|
|
960
|
-
bind?: BindVariable<BO> | undefined;
|
|
961
|
-
filter?: FilterFuncNumber<any, unknown> | undefined;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
965
|
-
as?: string | undefined;
|
|
966
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
967
|
-
fetchpriority?: 'high' | 'low' | 'auto';
|
|
968
|
-
href?: string | undefined;
|
|
969
|
-
hrefLang?: string | undefined;
|
|
970
|
-
integrity?: string | undefined;
|
|
971
|
-
media?: string | undefined;
|
|
972
|
-
imageSrcSet?: string | undefined;
|
|
973
|
-
imageSizes?: string | undefined;
|
|
974
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
975
|
-
sizes?: string | undefined;
|
|
976
|
-
type?: string | undefined;
|
|
977
|
-
charSet?: string | undefined;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
981
|
-
name?: string | undefined;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
985
|
-
type?: string | undefined;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
989
|
-
autoPlay?: boolean | undefined;
|
|
990
|
-
controls?: boolean | undefined;
|
|
991
|
-
controlsList?: string | undefined;
|
|
992
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
993
|
-
loop?: boolean | undefined;
|
|
994
|
-
mediaGroup?: string | undefined;
|
|
995
|
-
muted?: boolean | undefined;
|
|
996
|
-
playsInline?: boolean | undefined;
|
|
997
|
-
preload?: string | undefined;
|
|
998
|
-
src?: string | undefined;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1002
|
-
charSet?: string | undefined;
|
|
1003
|
-
httpEquiv?: string | undefined;
|
|
1004
|
-
name?: string | undefined;
|
|
1005
|
-
media?: string | undefined;
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
export interface MeterHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1009
|
-
form?: string | undefined;
|
|
1010
|
-
high?: number | undefined;
|
|
1011
|
-
low?: number | undefined;
|
|
1012
|
-
max?: number | string | undefined;
|
|
1013
|
-
min?: number | string | undefined;
|
|
1014
|
-
optimum?: number | undefined;
|
|
1015
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1016
|
-
|
|
1017
|
-
// tungsten bind
|
|
1018
|
-
bind?: BindVariable<BO> | undefined;
|
|
1019
|
-
filter?: FilterFuncNumber<any, unknown> | undefined;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1023
|
-
cite?: string | undefined;
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1027
|
-
classID?: string | undefined;
|
|
1028
|
-
data?: string | undefined;
|
|
1029
|
-
form?: string | undefined;
|
|
1030
|
-
height?: number | string | undefined;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
|
-
type?: string | undefined;
|
|
1033
|
-
useMap?: string | undefined;
|
|
1034
|
-
width?: number | string | undefined;
|
|
1035
|
-
wmode?: string | undefined;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1039
|
-
reversed?: boolean | undefined;
|
|
1040
|
-
start?: number | undefined;
|
|
1041
|
-
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1045
|
-
disabled?: boolean | undefined;
|
|
1046
|
-
label?: string | undefined;
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
export interface OptionHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1050
|
-
disabled?: boolean | undefined;
|
|
1051
|
-
label?: string | undefined;
|
|
1052
|
-
selected?: boolean | undefined;
|
|
1053
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1054
|
-
|
|
1055
|
-
// tungsten bind
|
|
1056
|
-
bind?: BindVariable<BO> | undefined;
|
|
1057
|
-
filter?: FilterFuncString<any, unknown> | undefined;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1061
|
-
form?: string | undefined;
|
|
1062
|
-
for?: string | undefined;
|
|
1063
|
-
htmlFor?: string | undefined;
|
|
1064
|
-
name?: string | undefined;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
export interface ParamHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1068
|
-
name?: string | undefined;
|
|
1069
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1070
|
-
|
|
1071
|
-
// tungsten bind
|
|
1072
|
-
bind?: BindVariable<BO> | undefined;
|
|
1073
|
-
filter?: FilterFuncString<any, unknown> | undefined;
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export interface ProgressHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1077
|
-
max?: number | string | undefined;
|
|
1078
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1079
|
-
|
|
1080
|
-
// tungsten bind
|
|
1081
|
-
bind?: BindVariable<BO> | undefined;
|
|
1082
|
-
filter?: FilterFuncNumber<ProgressEvent, unknown> | undefined;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
export interface SlotHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1086
|
-
name?: string | undefined;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1090
|
-
async?: boolean | undefined;
|
|
1091
|
-
/** @deprecated */
|
|
1092
|
-
charSet?: string | undefined;
|
|
1093
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
1094
|
-
defer?: boolean | undefined;
|
|
1095
|
-
integrity?: string | undefined;
|
|
1096
|
-
noModule?: boolean | undefined;
|
|
1097
|
-
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
1098
|
-
src?: string | undefined;
|
|
1099
|
-
type?: string | undefined;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
export interface SelectHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1103
|
-
autoComplete?: string | undefined;
|
|
1104
|
-
disabled?: boolean | undefined;
|
|
1105
|
-
form?: string | undefined;
|
|
1106
|
-
multiple?: boolean | undefined;
|
|
1107
|
-
name?: string | undefined;
|
|
1108
|
-
required?: boolean | undefined;
|
|
1109
|
-
size?: number | undefined;
|
|
1110
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1111
|
-
|
|
1112
|
-
// tungsten bind
|
|
1113
|
-
bind?: BindVariable<BO> | undefined;
|
|
1114
|
-
filter?: FilterSelectFunc<any, any, any> | undefined;
|
|
1115
|
-
|
|
1116
|
-
onChange?: ChangeEventHandler<T> | undefined;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1120
|
-
height?: number | string | undefined;
|
|
1121
|
-
media?: string | undefined;
|
|
1122
|
-
sizes?: string | undefined;
|
|
1123
|
-
src?: string | undefined;
|
|
1124
|
-
srcSet?: string | undefined;
|
|
1125
|
-
type?: string | undefined;
|
|
1126
|
-
width?: number | string | undefined;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1130
|
-
media?: string | undefined;
|
|
1131
|
-
scoped?: boolean | undefined;
|
|
1132
|
-
type?: string | undefined;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1136
|
-
align?: 'left' | 'center' | 'right' | undefined;
|
|
1137
|
-
bgcolor?: string | undefined;
|
|
1138
|
-
border?: number | undefined;
|
|
1139
|
-
cellPadding?: number | string | undefined;
|
|
1140
|
-
cellSpacing?: number | string | undefined;
|
|
1141
|
-
frame?: boolean | undefined;
|
|
1142
|
-
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
|
|
1143
|
-
summary?: string | undefined;
|
|
1144
|
-
width?: number | string | undefined;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
export interface TextareaHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1148
|
-
autoComplete?: string | undefined;
|
|
1149
|
-
cols?: number | undefined;
|
|
1150
|
-
dirName?: string | undefined;
|
|
1151
|
-
disabled?: boolean | undefined;
|
|
1152
|
-
form?: string | undefined;
|
|
1153
|
-
maxLength?: number | undefined;
|
|
1154
|
-
minLength?: number | undefined;
|
|
1155
|
-
name?: string | undefined;
|
|
1156
|
-
placeholder?: string | undefined;
|
|
1157
|
-
readOnly?: boolean | undefined;
|
|
1158
|
-
required?: boolean | undefined;
|
|
1159
|
-
rows?: number | undefined;
|
|
1160
|
-
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1161
|
-
wrap?: string | undefined;
|
|
1162
|
-
|
|
1163
|
-
// tungsten bind
|
|
1164
|
-
bind?: BindVariable<BO> | undefined;
|
|
1165
|
-
filter?: FilterFuncString<TextareaKeyboardEvent, unknown> | undefined;
|
|
1166
|
-
|
|
1167
|
-
onChange?: ChangeEventHandler<T> | undefined;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1171
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
1172
|
-
colSpan?: number | undefined;
|
|
1173
|
-
headers?: string | undefined;
|
|
1174
|
-
rowSpan?: number | undefined;
|
|
1175
|
-
scope?: string | undefined;
|
|
1176
|
-
abbr?: string | undefined;
|
|
1177
|
-
height?: number | string | undefined;
|
|
1178
|
-
width?: number | string | undefined;
|
|
1179
|
-
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1183
|
-
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
1184
|
-
colSpan?: number | undefined;
|
|
1185
|
-
headers?: string | undefined;
|
|
1186
|
-
rowSpan?: number | undefined;
|
|
1187
|
-
scope?: string | undefined;
|
|
1188
|
-
abbr?: string | undefined;
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1192
|
-
dateTime?: string | undefined;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1196
|
-
default?: boolean | undefined;
|
|
1197
|
-
kind?: string | undefined;
|
|
1198
|
-
label?: string | undefined;
|
|
1199
|
-
src?: string | undefined;
|
|
1200
|
-
srcLang?: string | undefined;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
1204
|
-
height?: number | string | undefined;
|
|
1205
|
-
playsInline?: boolean | undefined;
|
|
1206
|
-
poster?: string | undefined;
|
|
1207
|
-
width?: number | string | undefined;
|
|
1208
|
-
disablePictureInPicture?: boolean | undefined;
|
|
1209
|
-
disableRemotePlayback?: boolean | undefined;
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1213
|
-
allowFullScreen?: boolean | undefined;
|
|
1214
|
-
allowpopups?: boolean | undefined;
|
|
1215
|
-
autosize?: boolean | undefined;
|
|
1216
|
-
blinkfeatures?: string | undefined;
|
|
1217
|
-
disableblinkfeatures?: string | undefined;
|
|
1218
|
-
disableguestresize?: boolean | undefined;
|
|
1219
|
-
disablewebsecurity?: boolean | undefined;
|
|
1220
|
-
guestinstance?: string | undefined;
|
|
1221
|
-
httpreferrer?: string | undefined;
|
|
1222
|
-
nodeintegration?: boolean | undefined;
|
|
1223
|
-
partition?: string | undefined;
|
|
1224
|
-
plugins?: boolean | undefined;
|
|
1225
|
-
preload?: string | undefined;
|
|
1226
|
-
src?: string | undefined;
|
|
1227
|
-
useragent?: string | undefined;
|
|
1228
|
-
webpreferences?: string | undefined;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
// this list is "complete" in that it contains every SVG attribute
|
|
1232
|
-
// that React supports, but the types can be improved.
|
|
1233
|
-
// Full list here: https://facebook.github.io/react/docs/dom-elements.html
|
|
1234
|
-
//
|
|
1235
|
-
// The three broad type categories are (in order of restrictiveness):
|
|
1236
|
-
// - "number | string"
|
|
1237
|
-
// - "string"
|
|
1238
|
-
// - union of string literals
|
|
1239
|
-
export interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
1240
|
-
// Attributes which also defined in HTMLAttributes
|
|
1241
|
-
// See comment in SVGDOMPropertyConfig.js
|
|
1242
|
-
class?: ClassNameType;
|
|
1243
|
-
className?: ClassNameType;
|
|
1244
|
-
color?: string | undefined;
|
|
1245
|
-
height?: number | string | undefined;
|
|
1246
|
-
id?: string | undefined;
|
|
1247
|
-
lang?: string | undefined;
|
|
1248
|
-
max?: number | string | undefined;
|
|
1249
|
-
media?: string | undefined;
|
|
1250
|
-
method?: string | undefined;
|
|
1251
|
-
min?: number | string | undefined;
|
|
1252
|
-
name?: string | undefined;
|
|
1253
|
-
style?: CSSProperties | undefined;
|
|
1254
|
-
target?: string | undefined;
|
|
1255
|
-
type?: string | undefined;
|
|
1256
|
-
width?: number | string | undefined;
|
|
1257
|
-
|
|
1258
|
-
// Other HTML properties supported by SVG elements in browsers
|
|
1259
|
-
role?: AriaRole | undefined;
|
|
1260
|
-
tabIndex?: number | undefined;
|
|
1261
|
-
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
1262
|
-
|
|
1263
|
-
// SVG Specific attributes
|
|
1264
|
-
accentHeight?: number | string | undefined;
|
|
1265
|
-
accumulate?: 'none' | 'sum' | undefined;
|
|
1266
|
-
additive?: 'replace' | 'sum' | undefined;
|
|
1267
|
-
alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' |
|
|
1268
|
-
'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined;
|
|
1269
|
-
allowReorder?: 'no' | 'yes' | undefined;
|
|
1270
|
-
alphabetic?: number | string | undefined;
|
|
1271
|
-
amplitude?: number | string | undefined;
|
|
1272
|
-
arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined;
|
|
1273
|
-
ascent?: number | string | undefined;
|
|
1274
|
-
attributeName?: string | undefined;
|
|
1275
|
-
attributeType?: string | undefined;
|
|
1276
|
-
autoReverse?: Booleanish | undefined;
|
|
1277
|
-
azimuth?: number | string | undefined;
|
|
1278
|
-
baseFrequency?: number | string | undefined;
|
|
1279
|
-
baselineShift?: number | string | undefined;
|
|
1280
|
-
baseProfile?: number | string | undefined;
|
|
1281
|
-
bbox?: number | string | undefined;
|
|
1282
|
-
begin?: number | string | undefined;
|
|
1283
|
-
bias?: number | string | undefined;
|
|
1284
|
-
by?: number | string | undefined;
|
|
1285
|
-
calcMode?: number | string | undefined;
|
|
1286
|
-
capHeight?: number | string | undefined;
|
|
1287
|
-
clip?: number | string | undefined;
|
|
1288
|
-
clipPath?: string | undefined;
|
|
1289
|
-
clipPathUnits?: number | string | undefined;
|
|
1290
|
-
clipRule?: number | string | undefined;
|
|
1291
|
-
colorInterpolation?: number | string | undefined;
|
|
1292
|
-
colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined;
|
|
1293
|
-
colorProfile?: number | string | undefined;
|
|
1294
|
-
colorRendering?: number | string | undefined;
|
|
1295
|
-
contentScriptType?: number | string | undefined;
|
|
1296
|
-
contentStyleType?: number | string | undefined;
|
|
1297
|
-
cursor?: number | string | undefined;
|
|
1298
|
-
cx?: number | string | undefined;
|
|
1299
|
-
cy?: number | string | undefined;
|
|
1300
|
-
d?: string | undefined;
|
|
1301
|
-
decelerate?: number | string | undefined;
|
|
1302
|
-
descent?: number | string | undefined;
|
|
1303
|
-
diffuseConstant?: number | string | undefined;
|
|
1304
|
-
direction?: number | string | undefined;
|
|
1305
|
-
display?: number | string | undefined;
|
|
1306
|
-
divisor?: number | string | undefined;
|
|
1307
|
-
dominantBaseline?: number | string | undefined;
|
|
1308
|
-
dur?: number | string | undefined;
|
|
1309
|
-
dx?: number | string | undefined;
|
|
1310
|
-
dy?: number | string | undefined;
|
|
1311
|
-
edgeMode?: number | string | undefined;
|
|
1312
|
-
elevation?: number | string | undefined;
|
|
1313
|
-
enableBackground?: number | string | undefined;
|
|
1314
|
-
end?: number | string | undefined;
|
|
1315
|
-
exponent?: number | string | undefined;
|
|
1316
|
-
externalResourcesRequired?: Booleanish | undefined;
|
|
1317
|
-
fill?: string | undefined;
|
|
1318
|
-
fillOpacity?: number | string | undefined;
|
|
1319
|
-
fillRule?: 'nonzero' | 'evenodd' | 'inherit' | undefined;
|
|
1320
|
-
filter?: string | undefined;
|
|
1321
|
-
filterRes?: number | string | undefined;
|
|
1322
|
-
filterUnits?: number | string | undefined;
|
|
1323
|
-
floodColor?: number | string | undefined;
|
|
1324
|
-
floodOpacity?: number | string | undefined;
|
|
1325
|
-
focusable?: Booleanish | 'auto' | undefined;
|
|
1326
|
-
fontFamily?: string | undefined;
|
|
1327
|
-
fontSize?: number | string | undefined;
|
|
1328
|
-
fontSizeAdjust?: number | string | undefined;
|
|
1329
|
-
fontStretch?: number | string | undefined;
|
|
1330
|
-
fontStyle?: number | string | undefined;
|
|
1331
|
-
fontVariant?: number | string | undefined;
|
|
1332
|
-
fontWeight?: number | string | undefined;
|
|
1333
|
-
format?: number | string | undefined;
|
|
1334
|
-
fr?: number | string | undefined;
|
|
1335
|
-
from?: number | string | undefined;
|
|
1336
|
-
fx?: number | string | undefined;
|
|
1337
|
-
fy?: number | string | undefined;
|
|
1338
|
-
g1?: number | string | undefined;
|
|
1339
|
-
g2?: number | string | undefined;
|
|
1340
|
-
glyphName?: number | string | undefined;
|
|
1341
|
-
glyphOrientationHorizontal?: number | string | undefined;
|
|
1342
|
-
glyphOrientationVertical?: number | string | undefined;
|
|
1343
|
-
glyphRef?: number | string | undefined;
|
|
1344
|
-
gradientTransform?: string | undefined;
|
|
1345
|
-
gradientUnits?: string | undefined;
|
|
1346
|
-
hanging?: number | string | undefined;
|
|
1347
|
-
horizAdvX?: number | string | undefined;
|
|
1348
|
-
horizOriginX?: number | string | undefined;
|
|
1349
|
-
href?: string | undefined;
|
|
1350
|
-
ideographic?: number | string | undefined;
|
|
1351
|
-
imageRendering?: number | string | undefined;
|
|
1352
|
-
in2?: number | string | undefined;
|
|
1353
|
-
in?: string | undefined;
|
|
1354
|
-
intercept?: number | string | undefined;
|
|
1355
|
-
k1?: number | string | undefined;
|
|
1356
|
-
k2?: number | string | undefined;
|
|
1357
|
-
k3?: number | string | undefined;
|
|
1358
|
-
k4?: number | string | undefined;
|
|
1359
|
-
k?: number | string | undefined;
|
|
1360
|
-
kernelMatrix?: number | string | undefined;
|
|
1361
|
-
kernelUnitLength?: number | string | undefined;
|
|
1362
|
-
kerning?: number | string | undefined;
|
|
1363
|
-
keyPoints?: number | string | undefined;
|
|
1364
|
-
keySplines?: number | string | undefined;
|
|
1365
|
-
keyTimes?: number | string | undefined;
|
|
1366
|
-
lengthAdjust?: number | string | undefined;
|
|
1367
|
-
letterSpacing?: number | string | undefined;
|
|
1368
|
-
lightingColor?: number | string | undefined;
|
|
1369
|
-
limitingConeAngle?: number | string | undefined;
|
|
1370
|
-
local?: number | string | undefined;
|
|
1371
|
-
markerEnd?: string | undefined;
|
|
1372
|
-
markerHeight?: number | string | undefined;
|
|
1373
|
-
markerMid?: string | undefined;
|
|
1374
|
-
markerStart?: string | undefined;
|
|
1375
|
-
markerUnits?: number | string | undefined;
|
|
1376
|
-
markerWidth?: number | string | undefined;
|
|
1377
|
-
mask?: string | undefined;
|
|
1378
|
-
maskContentUnits?: number | string | undefined;
|
|
1379
|
-
maskUnits?: number | string | undefined;
|
|
1380
|
-
mathematical?: number | string | undefined;
|
|
1381
|
-
mode?: number | string | undefined;
|
|
1382
|
-
numOctaves?: number | string | undefined;
|
|
1383
|
-
offset?: number | string | undefined;
|
|
1384
|
-
opacity?: number | string | undefined;
|
|
1385
|
-
operator?: number | string | undefined;
|
|
1386
|
-
order?: number | string | undefined;
|
|
1387
|
-
orient?: number | string | undefined;
|
|
1388
|
-
orientation?: number | string | undefined;
|
|
1389
|
-
origin?: number | string | undefined;
|
|
1390
|
-
overflow?: number | string | undefined;
|
|
1391
|
-
overlinePosition?: number | string | undefined;
|
|
1392
|
-
overlineThickness?: number | string | undefined;
|
|
1393
|
-
paintOrder?: number | string | undefined;
|
|
1394
|
-
panose1?: number | string | undefined;
|
|
1395
|
-
path?: string | undefined;
|
|
1396
|
-
pathLength?: number | string | undefined;
|
|
1397
|
-
patternContentUnits?: string | undefined;
|
|
1398
|
-
patternTransform?: number | string | undefined;
|
|
1399
|
-
patternUnits?: string | undefined;
|
|
1400
|
-
pointerEvents?: number | string | undefined;
|
|
1401
|
-
points?: string | undefined;
|
|
1402
|
-
pointsAtX?: number | string | undefined;
|
|
1403
|
-
pointsAtY?: number | string | undefined;
|
|
1404
|
-
pointsAtZ?: number | string | undefined;
|
|
1405
|
-
preserveAlpha?: Booleanish | undefined;
|
|
1406
|
-
preserveAspectRatio?: string | undefined;
|
|
1407
|
-
primitiveUnits?: number | string | undefined;
|
|
1408
|
-
r?: number | string | undefined;
|
|
1409
|
-
radius?: number | string | undefined;
|
|
1410
|
-
refX?: number | string | undefined;
|
|
1411
|
-
refY?: number | string | undefined;
|
|
1412
|
-
renderingIntent?: number | string | undefined;
|
|
1413
|
-
repeatCount?: number | string | undefined;
|
|
1414
|
-
repeatDur?: number | string | undefined;
|
|
1415
|
-
requiredExtensions?: number | string | undefined;
|
|
1416
|
-
requiredFeatures?: number | string | undefined;
|
|
1417
|
-
restart?: number | string | undefined;
|
|
1418
|
-
result?: string | undefined;
|
|
1419
|
-
rotate?: number | string | undefined;
|
|
1420
|
-
rx?: number | string | undefined;
|
|
1421
|
-
ry?: number | string | undefined;
|
|
1422
|
-
scale?: number | string | undefined;
|
|
1423
|
-
seed?: number | string | undefined;
|
|
1424
|
-
shapeRendering?: number | string | undefined;
|
|
1425
|
-
slope?: number | string | undefined;
|
|
1426
|
-
spacing?: number | string | undefined;
|
|
1427
|
-
specularConstant?: number | string | undefined;
|
|
1428
|
-
specularExponent?: number | string | undefined;
|
|
1429
|
-
speed?: number | string | undefined;
|
|
1430
|
-
spreadMethod?: string | undefined;
|
|
1431
|
-
startOffset?: number | string | undefined;
|
|
1432
|
-
stdDeviation?: number | string | undefined;
|
|
1433
|
-
stemh?: number | string | undefined;
|
|
1434
|
-
stemv?: number | string | undefined;
|
|
1435
|
-
stitchTiles?: number | string | undefined;
|
|
1436
|
-
stopColor?: string | undefined;
|
|
1437
|
-
stopOpacity?: number | string | undefined;
|
|
1438
|
-
strikethroughPosition?: number | string | undefined;
|
|
1439
|
-
strikethroughThickness?: number | string | undefined;
|
|
1440
|
-
string?: number | string | undefined;
|
|
1441
|
-
stroke?: string | undefined;
|
|
1442
|
-
strokeDasharray?: string | number | undefined;
|
|
1443
|
-
strokeDashoffset?: string | number | undefined;
|
|
1444
|
-
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
1445
|
-
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined;
|
|
1446
|
-
strokeMiterlimit?: number | string | undefined;
|
|
1447
|
-
strokeOpacity?: number | string | undefined;
|
|
1448
|
-
strokeWidth?: number | string | undefined;
|
|
1449
|
-
surfaceScale?: number | string | undefined;
|
|
1450
|
-
systemLanguage?: number | string | undefined;
|
|
1451
|
-
tableValues?: number | string | undefined;
|
|
1452
|
-
targetX?: number | string | undefined;
|
|
1453
|
-
targetY?: number | string | undefined;
|
|
1454
|
-
textAnchor?: string | undefined;
|
|
1455
|
-
textDecoration?: number | string | undefined;
|
|
1456
|
-
textLength?: number | string | undefined;
|
|
1457
|
-
textRendering?: number | string | undefined;
|
|
1458
|
-
to?: number | string | undefined;
|
|
1459
|
-
transform?: string | undefined;
|
|
1460
|
-
u1?: number | string | undefined;
|
|
1461
|
-
u2?: number | string | undefined;
|
|
1462
|
-
underlinePosition?: number | string | undefined;
|
|
1463
|
-
underlineThickness?: number | string | undefined;
|
|
1464
|
-
unicode?: number | string | undefined;
|
|
1465
|
-
unicodeBidi?: number | string | undefined;
|
|
1466
|
-
unicodeRange?: number | string | undefined;
|
|
1467
|
-
unitsPerEm?: number | string | undefined;
|
|
1468
|
-
vAlphabetic?: number | string | undefined;
|
|
1469
|
-
values?: string | undefined;
|
|
1470
|
-
vectorEffect?: number | string | undefined;
|
|
1471
|
-
version?: string | undefined;
|
|
1472
|
-
vertAdvY?: number | string | undefined;
|
|
1473
|
-
vertOriginX?: number | string | undefined;
|
|
1474
|
-
vertOriginY?: number | string | undefined;
|
|
1475
|
-
vHanging?: number | string | undefined;
|
|
1476
|
-
vIdeographic?: number | string | undefined;
|
|
1477
|
-
viewBox?: string | undefined;
|
|
1478
|
-
viewTarget?: number | string | undefined;
|
|
1479
|
-
visibility?: number | string | undefined;
|
|
1480
|
-
vMathematical?: number | string | undefined;
|
|
1481
|
-
widths?: number | string | undefined;
|
|
1482
|
-
wordSpacing?: number | string | undefined;
|
|
1483
|
-
writingMode?: number | string | undefined;
|
|
1484
|
-
x1?: number | string | undefined;
|
|
1485
|
-
x2?: number | string | undefined;
|
|
1486
|
-
x?: number | string | undefined;
|
|
1487
|
-
xChannelSelector?: string | undefined;
|
|
1488
|
-
xHeight?: number | string | undefined;
|
|
1489
|
-
xlinkActuate?: string | undefined;
|
|
1490
|
-
xlinkArcrole?: string | undefined;
|
|
1491
|
-
xlinkHref?: string | undefined;
|
|
1492
|
-
xlinkRole?: string | undefined;
|
|
1493
|
-
xlinkShow?: string | undefined;
|
|
1494
|
-
xlinkTitle?: string | undefined;
|
|
1495
|
-
xlinkType?: string | undefined;
|
|
1496
|
-
xmlBase?: string | undefined;
|
|
1497
|
-
xmlLang?: string | undefined;
|
|
1498
|
-
xmlns?: string | undefined;
|
|
1499
|
-
xmlnsXlink?: string | undefined;
|
|
1500
|
-
xmlSpace?: string | undefined;
|
|
1501
|
-
y1?: number | string | undefined;
|
|
1502
|
-
y2?: number | string | undefined;
|
|
1503
|
-
y?: number | string | undefined;
|
|
1504
|
-
yChannelSelector?: string | undefined;
|
|
1505
|
-
z?: number | string | undefined;
|
|
1506
|
-
zoomAndPan?: string | undefined;
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
export type HTMLBindableElementString = HTMLButtonElement | HTMLDataElement | HTMLInputElement | HTMLOptionElement
|
|
1510
|
-
| HTMLParamElement | HTMLSelectElement | HTMLTextAreaElement
|
|
1511
|
-
export type HTMLBindableElementNumber = HTMLLIElement | HTMLMeterElement | HTMLProgressElement
|
|
1512
|
-
export type HTMLBindableElement = HTMLBindableElementString | HTMLBindableElementNumber
|
|
1513
|
-
|
|
1514
|
-
export type HTMLCheckedBindableElement = HTMLInputElement
|
|
1
|
+
|
|
2
|
+
import type * as CSS from 'csstype'
|
|
3
|
+
|
|
4
|
+
import type { BindVariable } from 'tungsten/components/bindable/BindVariable.js'
|
|
5
|
+
import type { ContentNode } from 'tungsten/ContentNode.js'
|
|
6
|
+
import type { TrustedHTML } from './html.global.js'
|
|
7
|
+
import type { Booleanish } from './html.values.js'
|
|
8
|
+
import type {
|
|
9
|
+
AnimationEventHandler, ButtonMouseEvent, ChangeEventHandler, ClipboardEventHandler, CompositionEventHandler,
|
|
10
|
+
DragEventHandler, ExtendedKeyboardEvent, ExtendedMouseEvent, ExtendedUIEvent, FocusEventHandler, FormEventHandler, InputKeyboardEvent, KeyboardEventHandler, MouseEventHandler,
|
|
11
|
+
PointerEventHandler, TungstenEventHandler, SyntheticEvent, TextareaKeyboardEvent, TouchEventHandler, TransitionEventHandler, UIEventHandler,
|
|
12
|
+
WheelEventHandler
|
|
13
|
+
} from './html.events.js'
|
|
14
|
+
|
|
15
|
+
//type Events =
|
|
16
|
+
type FilterFuncString<TheEvent extends Event | SyntheticEvent, T> = (newValue: string, event: TheEvent) => T
|
|
17
|
+
type FilterFuncNumber<TheEvent extends Event | SyntheticEvent, T> = (newValue: number, event: TheEvent) => T
|
|
18
|
+
type FilterCheckedFunc<TheEvent extends Event | SyntheticEvent, T> = (newValue: boolean, event: TheEvent) => T
|
|
19
|
+
type FilterSelectFunc<TheEvent extends Event | SyntheticEvent, O, T> = (newValue: O, event: TheEvent) => T
|
|
20
|
+
|
|
21
|
+
//type Bind = string | ReadonlyArray<string> | number | undefined;
|
|
22
|
+
//type Bind<BO extends object> = BindVariable<BO>
|
|
23
|
+
|
|
24
|
+
interface CSSProperties extends CSS.Properties<string | number> {
|
|
25
|
+
/**
|
|
26
|
+
* The index signature was removed to enable closed typing for style
|
|
27
|
+
* using CSSType. You're able to use type assertion or module augmentation
|
|
28
|
+
* to add properties or an index signature of your own.
|
|
29
|
+
*
|
|
30
|
+
* For examples and more information, visit:
|
|
31
|
+
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
|
32
|
+
*/
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface DOMAttributes<T> {
|
|
36
|
+
// children?: string | undefined;
|
|
37
|
+
// ContentNode[] is a hack to make typescript accept arrays as children
|
|
38
|
+
// (should already be covered by ContentNode, which allows arrays of ContentNodeSingle)
|
|
39
|
+
children?: ContentNode | ContentNode[] | undefined;
|
|
40
|
+
dangerouslySetInnerHTML?: {
|
|
41
|
+
// Should be InnerHTML['innerHTML'].
|
|
42
|
+
// But unfortunately we're mixing renderer-specific type declarations.
|
|
43
|
+
__html: string | TrustedHTML;
|
|
44
|
+
} | undefined;
|
|
45
|
+
|
|
46
|
+
// Clipboard Events
|
|
47
|
+
onCopy?: ClipboardEventHandler<T> | undefined;
|
|
48
|
+
onCopyCapture?: ClipboardEventHandler<T> | undefined;
|
|
49
|
+
onCut?: ClipboardEventHandler<T> | undefined;
|
|
50
|
+
onCutCapture?: ClipboardEventHandler<T> | undefined;
|
|
51
|
+
onPaste?: ClipboardEventHandler<T> | undefined;
|
|
52
|
+
onPasteCapture?: ClipboardEventHandler<T> | undefined;
|
|
53
|
+
|
|
54
|
+
// Composition Events
|
|
55
|
+
onCompositionEnd?: CompositionEventHandler<T> | undefined;
|
|
56
|
+
onCompositionEndCapture?: CompositionEventHandler<T> | undefined;
|
|
57
|
+
onCompositionStart?: CompositionEventHandler<T> | undefined;
|
|
58
|
+
onCompositionStartCapture?: CompositionEventHandler<T> | undefined;
|
|
59
|
+
onCompositionUpdate?: CompositionEventHandler<T> | undefined;
|
|
60
|
+
onCompositionUpdateCapture?: CompositionEventHandler<T> | undefined;
|
|
61
|
+
|
|
62
|
+
// Focus Events
|
|
63
|
+
onFocus?: FocusEventHandler<T> | undefined;
|
|
64
|
+
onFocusCapture?: FocusEventHandler<T> | undefined;
|
|
65
|
+
onBlur?: FocusEventHandler<T> | undefined;
|
|
66
|
+
onBlurCapture?: FocusEventHandler<T> | undefined;
|
|
67
|
+
|
|
68
|
+
// Form Events
|
|
69
|
+
onChange?: FormEventHandler<T> | undefined;
|
|
70
|
+
onChangeCapture?: FormEventHandler<T> | undefined;
|
|
71
|
+
onBeforeInput?: FormEventHandler<T> | undefined;
|
|
72
|
+
onBeforeInputCapture?: FormEventHandler<T> | undefined;
|
|
73
|
+
onInput?: FormEventHandler<T> | undefined;
|
|
74
|
+
onInputCapture?: FormEventHandler<T> | undefined;
|
|
75
|
+
onReset?: FormEventHandler<T> | undefined;
|
|
76
|
+
onResetCapture?: FormEventHandler<T> | undefined;
|
|
77
|
+
onSubmit?: FormEventHandler<T> | undefined;
|
|
78
|
+
onSubmitCapture?: FormEventHandler<T> | undefined;
|
|
79
|
+
onInvalid?: FormEventHandler<T> | undefined;
|
|
80
|
+
onInvalidCapture?: FormEventHandler<T> | undefined;
|
|
81
|
+
|
|
82
|
+
// Image Events
|
|
83
|
+
onLoad?: TungstenEventHandler<T> | undefined;
|
|
84
|
+
onLoadCapture?: TungstenEventHandler<T> | undefined;
|
|
85
|
+
onError?: TungstenEventHandler<T> | undefined; // also a Media Event
|
|
86
|
+
onErrorCapture?: TungstenEventHandler<T> | undefined; // also a Media Event
|
|
87
|
+
|
|
88
|
+
// Keyboard Events
|
|
89
|
+
onKeyDown?: KeyboardEventHandler<T> | undefined;
|
|
90
|
+
onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
|
|
91
|
+
/** @deprecated */
|
|
92
|
+
onKeyPress?: KeyboardEventHandler<T> | undefined;
|
|
93
|
+
/** @deprecated */
|
|
94
|
+
onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
|
|
95
|
+
onKeyUp?: KeyboardEventHandler<T> | undefined;
|
|
96
|
+
onKeyUpCapture?: KeyboardEventHandler<T> | undefined;
|
|
97
|
+
|
|
98
|
+
// Media Events
|
|
99
|
+
onAbort?: TungstenEventHandler<T> | undefined;
|
|
100
|
+
onAbortCapture?: TungstenEventHandler<T> | undefined;
|
|
101
|
+
onCanPlay?: TungstenEventHandler<T> | undefined;
|
|
102
|
+
onCanPlayCapture?: TungstenEventHandler<T> | undefined;
|
|
103
|
+
onCanPlayThrough?: TungstenEventHandler<T> | undefined;
|
|
104
|
+
onCanPlayThroughCapture?: TungstenEventHandler<T> | undefined;
|
|
105
|
+
onDurationChange?: TungstenEventHandler<T> | undefined;
|
|
106
|
+
onDurationChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
107
|
+
onEmptied?: TungstenEventHandler<T> | undefined;
|
|
108
|
+
onEmptiedCapture?: TungstenEventHandler<T> | undefined;
|
|
109
|
+
onEncrypted?: TungstenEventHandler<T> | undefined;
|
|
110
|
+
onEncryptedCapture?: TungstenEventHandler<T> | undefined;
|
|
111
|
+
onEnded?: TungstenEventHandler<T> | undefined;
|
|
112
|
+
onEndedCapture?: TungstenEventHandler<T> | undefined;
|
|
113
|
+
onLoadedData?: TungstenEventHandler<T> | undefined;
|
|
114
|
+
onLoadedDataCapture?: TungstenEventHandler<T> | undefined;
|
|
115
|
+
onLoadedMetadata?: TungstenEventHandler<T> | undefined;
|
|
116
|
+
onLoadedMetadataCapture?: TungstenEventHandler<T> | undefined;
|
|
117
|
+
onLoadStart?: TungstenEventHandler<T> | undefined;
|
|
118
|
+
onLoadStartCapture?: TungstenEventHandler<T> | undefined;
|
|
119
|
+
onPause?: TungstenEventHandler<T> | undefined;
|
|
120
|
+
onPauseCapture?: TungstenEventHandler<T> | undefined;
|
|
121
|
+
onPlay?: TungstenEventHandler<T> | undefined;
|
|
122
|
+
onPlayCapture?: TungstenEventHandler<T> | undefined;
|
|
123
|
+
onPlaying?: TungstenEventHandler<T> | undefined;
|
|
124
|
+
onPlayingCapture?: TungstenEventHandler<T> | undefined;
|
|
125
|
+
onProgress?: TungstenEventHandler<T> | undefined;
|
|
126
|
+
onProgressCapture?: TungstenEventHandler<T> | undefined;
|
|
127
|
+
onRateChange?: TungstenEventHandler<T> | undefined;
|
|
128
|
+
onRateChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
129
|
+
onResize?: TungstenEventHandler<T> | undefined;
|
|
130
|
+
onResizeCapture?: TungstenEventHandler<T> | undefined;
|
|
131
|
+
onSeeked?: TungstenEventHandler<T> | undefined;
|
|
132
|
+
onSeekedCapture?: TungstenEventHandler<T> | undefined;
|
|
133
|
+
onSeeking?: TungstenEventHandler<T> | undefined;
|
|
134
|
+
onSeekingCapture?: TungstenEventHandler<T> | undefined;
|
|
135
|
+
onStalled?: TungstenEventHandler<T> | undefined;
|
|
136
|
+
onStalledCapture?: TungstenEventHandler<T> | undefined;
|
|
137
|
+
onSuspend?: TungstenEventHandler<T> | undefined;
|
|
138
|
+
onSuspendCapture?: TungstenEventHandler<T> | undefined;
|
|
139
|
+
onTimeUpdate?: TungstenEventHandler<T> | undefined;
|
|
140
|
+
onTimeUpdateCapture?: TungstenEventHandler<T> | undefined;
|
|
141
|
+
onVolumeChange?: TungstenEventHandler<T> | undefined;
|
|
142
|
+
onVolumeChangeCapture?: TungstenEventHandler<T> | undefined;
|
|
143
|
+
onWaiting?: TungstenEventHandler<T> | undefined;
|
|
144
|
+
onWaitingCapture?: TungstenEventHandler<T> | undefined;
|
|
145
|
+
|
|
146
|
+
// MouseEvents
|
|
147
|
+
onAuxClick?: MouseEventHandler<T> | undefined;
|
|
148
|
+
onAuxClickCapture?: MouseEventHandler<T> | undefined;
|
|
149
|
+
onClick?: MouseEventHandler<T> | undefined;
|
|
150
|
+
onClickCapture?: MouseEventHandler<T> | undefined;
|
|
151
|
+
onContextMenu?: MouseEventHandler<T> | undefined;
|
|
152
|
+
onContextMenuCapture?: MouseEventHandler<T> | undefined;
|
|
153
|
+
onDoubleClick?: MouseEventHandler<T> | undefined;
|
|
154
|
+
onDoubleClickCapture?: MouseEventHandler<T> | undefined;
|
|
155
|
+
onDrag?: DragEventHandler<T> | undefined;
|
|
156
|
+
onDragCapture?: DragEventHandler<T> | undefined;
|
|
157
|
+
onDragEnd?: DragEventHandler<T> | undefined;
|
|
158
|
+
onDragEndCapture?: DragEventHandler<T> | undefined;
|
|
159
|
+
onDragEnter?: DragEventHandler<T> | undefined;
|
|
160
|
+
onDragEnterCapture?: DragEventHandler<T> | undefined;
|
|
161
|
+
onDragExit?: DragEventHandler<T> | undefined;
|
|
162
|
+
onDragExitCapture?: DragEventHandler<T> | undefined;
|
|
163
|
+
onDragLeave?: DragEventHandler<T> | undefined;
|
|
164
|
+
onDragLeaveCapture?: DragEventHandler<T> | undefined;
|
|
165
|
+
onDragOver?: DragEventHandler<T> | undefined;
|
|
166
|
+
onDragOverCapture?: DragEventHandler<T> | undefined;
|
|
167
|
+
onDragStart?: DragEventHandler<T> | undefined;
|
|
168
|
+
onDragStartCapture?: DragEventHandler<T> | undefined;
|
|
169
|
+
onDrop?: DragEventHandler<T> | undefined;
|
|
170
|
+
onDropCapture?: DragEventHandler<T> | undefined;
|
|
171
|
+
onMouseDown?: MouseEventHandler<T> | undefined;
|
|
172
|
+
onMouseDownCapture?: MouseEventHandler<T> | undefined;
|
|
173
|
+
onMouseEnter?: MouseEventHandler<T> | undefined;
|
|
174
|
+
onMouseLeave?: MouseEventHandler<T> | undefined;
|
|
175
|
+
onMouseMove?: MouseEventHandler<T> | undefined;
|
|
176
|
+
onMouseMoveCapture?: MouseEventHandler<T> | undefined;
|
|
177
|
+
onMouseOut?: MouseEventHandler<T> | undefined;
|
|
178
|
+
onMouseOutCapture?: MouseEventHandler<T> | undefined;
|
|
179
|
+
onMouseOver?: MouseEventHandler<T> | undefined;
|
|
180
|
+
onMouseOverCapture?: MouseEventHandler<T> | undefined;
|
|
181
|
+
onMouseUp?: MouseEventHandler<T> | undefined;
|
|
182
|
+
onMouseUpCapture?: MouseEventHandler<T> | undefined;
|
|
183
|
+
|
|
184
|
+
// Selection Events
|
|
185
|
+
onSelect?: TungstenEventHandler<T> | undefined;
|
|
186
|
+
onSelectCapture?: TungstenEventHandler<T> | undefined;
|
|
187
|
+
|
|
188
|
+
// Touch Events
|
|
189
|
+
onTouchCancel?: TouchEventHandler<T> | undefined;
|
|
190
|
+
onTouchCancelCapture?: TouchEventHandler<T> | undefined;
|
|
191
|
+
onTouchEnd?: TouchEventHandler<T> | undefined;
|
|
192
|
+
onTouchEndCapture?: TouchEventHandler<T> | undefined;
|
|
193
|
+
onTouchMove?: TouchEventHandler<T> | undefined;
|
|
194
|
+
onTouchMoveCapture?: TouchEventHandler<T> | undefined;
|
|
195
|
+
onTouchStart?: TouchEventHandler<T> | undefined;
|
|
196
|
+
onTouchStartCapture?: TouchEventHandler<T> | undefined;
|
|
197
|
+
|
|
198
|
+
// Pointer Events
|
|
199
|
+
onPointerDown?: PointerEventHandler<T> | undefined;
|
|
200
|
+
onPointerDownCapture?: PointerEventHandler<T> | undefined;
|
|
201
|
+
onPointerMove?: PointerEventHandler<T> | undefined;
|
|
202
|
+
onPointerMoveCapture?: PointerEventHandler<T> | undefined;
|
|
203
|
+
onPointerUp?: PointerEventHandler<T> | undefined;
|
|
204
|
+
onPointerUpCapture?: PointerEventHandler<T> | undefined;
|
|
205
|
+
onPointerCancel?: PointerEventHandler<T> | undefined;
|
|
206
|
+
onPointerCancelCapture?: PointerEventHandler<T> | undefined;
|
|
207
|
+
onPointerEnter?: PointerEventHandler<T> | undefined;
|
|
208
|
+
onPointerEnterCapture?: PointerEventHandler<T> | undefined;
|
|
209
|
+
onPointerLeave?: PointerEventHandler<T> | undefined;
|
|
210
|
+
onPointerLeaveCapture?: PointerEventHandler<T> | undefined;
|
|
211
|
+
onPointerOver?: PointerEventHandler<T> | undefined;
|
|
212
|
+
onPointerOverCapture?: PointerEventHandler<T> | undefined;
|
|
213
|
+
onPointerOut?: PointerEventHandler<T> | undefined;
|
|
214
|
+
onPointerOutCapture?: PointerEventHandler<T> | undefined;
|
|
215
|
+
onGotPointerCapture?: PointerEventHandler<T> | undefined;
|
|
216
|
+
onGotPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
217
|
+
onLostPointerCapture?: PointerEventHandler<T> | undefined;
|
|
218
|
+
onLostPointerCaptureCapture?: PointerEventHandler<T> | undefined;
|
|
219
|
+
|
|
220
|
+
// UI Events
|
|
221
|
+
onScroll?: UIEventHandler<T> | undefined;
|
|
222
|
+
onScrollCapture?: UIEventHandler<T> | undefined;
|
|
223
|
+
|
|
224
|
+
// Wheel Events
|
|
225
|
+
onWheel?: WheelEventHandler<T> | undefined;
|
|
226
|
+
onWheelCapture?: WheelEventHandler<T> | undefined;
|
|
227
|
+
|
|
228
|
+
// Animation Events
|
|
229
|
+
onAnimationStart?: AnimationEventHandler<T> | undefined;
|
|
230
|
+
onAnimationStartCapture?: AnimationEventHandler<T> | undefined;
|
|
231
|
+
onAnimationEnd?: AnimationEventHandler<T> | undefined;
|
|
232
|
+
onAnimationEndCapture?: AnimationEventHandler<T> | undefined;
|
|
233
|
+
onAnimationIteration?: AnimationEventHandler<T> | undefined;
|
|
234
|
+
onAnimationIterationCapture?: AnimationEventHandler<T> | undefined;
|
|
235
|
+
|
|
236
|
+
// Transition Events
|
|
237
|
+
onTransitionEnd?: TransitionEventHandler<T> | undefined;
|
|
238
|
+
onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
|
|
242
|
+
interface AriaAttributes {
|
|
243
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
244
|
+
'aria-activedescendant'?: string | undefined;
|
|
245
|
+
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
246
|
+
'aria-atomic'?: Booleanish | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
249
|
+
* presented if they are made.
|
|
250
|
+
*/
|
|
251
|
+
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
|
|
252
|
+
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
253
|
+
/**
|
|
254
|
+
* Defines a string value that labels the current element, which is intended to be converted into Braille.
|
|
255
|
+
* @see aria-label.
|
|
256
|
+
*/
|
|
257
|
+
'aria-braillelabel'?: string | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
|
|
260
|
+
* @see aria-roledescription.
|
|
261
|
+
*/
|
|
262
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
263
|
+
'aria-busy'?: Booleanish | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
266
|
+
* @see aria-pressed @see aria-selected.
|
|
267
|
+
*/
|
|
268
|
+
'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
271
|
+
* @see aria-colindex.
|
|
272
|
+
*/
|
|
273
|
+
'aria-colcount'?: number | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
276
|
+
* @see aria-colcount @see aria-colspan.
|
|
277
|
+
*/
|
|
278
|
+
'aria-colindex'?: number | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* Defines a human readable text alternative of aria-colindex.
|
|
281
|
+
* @see aria-rowindextext.
|
|
282
|
+
*/
|
|
283
|
+
'aria-colindextext'?: string | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
286
|
+
* @see aria-colindex @see aria-rowspan.
|
|
287
|
+
*/
|
|
288
|
+
'aria-colspan'?: number | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
291
|
+
* @see aria-owns.
|
|
292
|
+
*/
|
|
293
|
+
'aria-controls'?: string | undefined;
|
|
294
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
295
|
+
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* Identifies the element (or elements) that describes the object.
|
|
298
|
+
* @see aria-labelledby
|
|
299
|
+
*/
|
|
300
|
+
'aria-describedby'?: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* Defines a string value that describes or annotates the current element.
|
|
303
|
+
* @see related aria-describedby.
|
|
304
|
+
*/
|
|
305
|
+
'aria-description'?: string | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
308
|
+
* @see aria-describedby.
|
|
309
|
+
*/
|
|
310
|
+
'aria-details'?: string | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
313
|
+
* @see aria-hidden @see aria-readonly.
|
|
314
|
+
*/
|
|
315
|
+
'aria-disabled'?: Booleanish | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
318
|
+
* @deprecated in ARIA 1.1
|
|
319
|
+
*/
|
|
320
|
+
'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* Identifies the element that provides an error message for the object.
|
|
323
|
+
* @see aria-invalid @see aria-describedby.
|
|
324
|
+
*/
|
|
325
|
+
'aria-errormessage'?: string | undefined;
|
|
326
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
327
|
+
'aria-expanded'?: Booleanish | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
330
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
331
|
+
*/
|
|
332
|
+
'aria-flowto'?: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
335
|
+
* @deprecated in ARIA 1.1
|
|
336
|
+
*/
|
|
337
|
+
'aria-grabbed'?: Booleanish | undefined;
|
|
338
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
339
|
+
'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
342
|
+
* @see aria-disabled.
|
|
343
|
+
*/
|
|
344
|
+
'aria-hidden'?: Booleanish | undefined;
|
|
345
|
+
/**
|
|
346
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
347
|
+
* @see aria-errormessage.
|
|
348
|
+
*/
|
|
349
|
+
'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
|
|
350
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
351
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* Defines a string value that labels the current element.
|
|
354
|
+
* @see aria-labelledby.
|
|
355
|
+
*/
|
|
356
|
+
'aria-label'?: string | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* Identifies the element (or elements) that labels the current element.
|
|
359
|
+
* @see aria-describedby.
|
|
360
|
+
*/
|
|
361
|
+
'aria-labelledby'?: string | undefined;
|
|
362
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
363
|
+
'aria-level'?: number | undefined;
|
|
364
|
+
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
365
|
+
'aria-live'?: 'off' | 'assertive' | 'polite' | undefined;
|
|
366
|
+
/** Indicates whether an element is modal when displayed. */
|
|
367
|
+
'aria-modal'?: Booleanish | undefined;
|
|
368
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
369
|
+
'aria-multiline'?: Booleanish | undefined;
|
|
370
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
371
|
+
'aria-multiselectable'?: Booleanish | undefined;
|
|
372
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
373
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
376
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
377
|
+
* @see aria-controls.
|
|
378
|
+
*/
|
|
379
|
+
'aria-owns'?: string | undefined;
|
|
380
|
+
/**
|
|
381
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
382
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
383
|
+
*/
|
|
384
|
+
'aria-placeholder'?: string | undefined;
|
|
385
|
+
/**
|
|
386
|
+
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
387
|
+
* @see aria-setsize.
|
|
388
|
+
*/
|
|
389
|
+
'aria-posinset'?: number | undefined;
|
|
390
|
+
/**
|
|
391
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
392
|
+
* @see aria-checked @see aria-selected.
|
|
393
|
+
*/
|
|
394
|
+
'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
397
|
+
* @see aria-disabled.
|
|
398
|
+
*/
|
|
399
|
+
'aria-readonly'?: Booleanish | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
402
|
+
* @see aria-atomic.
|
|
403
|
+
*/
|
|
404
|
+
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined;
|
|
405
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
406
|
+
'aria-required'?: Booleanish | undefined;
|
|
407
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
408
|
+
'aria-roledescription'?: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
411
|
+
* @see aria-rowindex.
|
|
412
|
+
*/
|
|
413
|
+
'aria-rowcount'?: number | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
416
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
417
|
+
*/
|
|
418
|
+
'aria-rowindex'?: number | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* Defines a human readable text alternative of aria-rowindex.
|
|
421
|
+
* @see aria-colindextext.
|
|
422
|
+
*/
|
|
423
|
+
'aria-rowindextext'?: string | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
426
|
+
* @see aria-rowindex @see aria-colspan.
|
|
427
|
+
*/
|
|
428
|
+
'aria-rowspan'?: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* Indicates the current "selected" state of various widgets.
|
|
431
|
+
* @see aria-checked @see aria-pressed.
|
|
432
|
+
*/
|
|
433
|
+
'aria-selected'?: Booleanish | undefined;
|
|
434
|
+
/**
|
|
435
|
+
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
436
|
+
* @see aria-posinset.
|
|
437
|
+
*/
|
|
438
|
+
'aria-setsize'?: number | undefined;
|
|
439
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
440
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined;
|
|
441
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
442
|
+
'aria-valuemax'?: number | undefined;
|
|
443
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
444
|
+
'aria-valuemin'?: number | undefined;
|
|
445
|
+
/**
|
|
446
|
+
* Defines the current value for a range widget.
|
|
447
|
+
* @see aria-valuetext.
|
|
448
|
+
*/
|
|
449
|
+
'aria-valuenow'?: number | undefined;
|
|
450
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
451
|
+
'aria-valuetext'?: string | undefined;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
|
|
455
|
+
type AriaRole =
|
|
456
|
+
| 'alert'
|
|
457
|
+
| 'alertdialog'
|
|
458
|
+
| 'application'
|
|
459
|
+
| 'article'
|
|
460
|
+
| 'banner'
|
|
461
|
+
| 'button'
|
|
462
|
+
| 'cell'
|
|
463
|
+
| 'checkbox'
|
|
464
|
+
| 'columnheader'
|
|
465
|
+
| 'combobox'
|
|
466
|
+
| 'complementary'
|
|
467
|
+
| 'contentinfo'
|
|
468
|
+
| 'definition'
|
|
469
|
+
| 'dialog'
|
|
470
|
+
| 'directory'
|
|
471
|
+
| 'document'
|
|
472
|
+
| 'feed'
|
|
473
|
+
| 'figure'
|
|
474
|
+
| 'form'
|
|
475
|
+
| 'grid'
|
|
476
|
+
| 'gridcell'
|
|
477
|
+
| 'group'
|
|
478
|
+
| 'heading'
|
|
479
|
+
| 'img'
|
|
480
|
+
| 'link'
|
|
481
|
+
| 'list'
|
|
482
|
+
| 'listbox'
|
|
483
|
+
| 'listitem'
|
|
484
|
+
| 'log'
|
|
485
|
+
| 'main'
|
|
486
|
+
| 'marquee'
|
|
487
|
+
| 'math'
|
|
488
|
+
| 'menu'
|
|
489
|
+
| 'menubar'
|
|
490
|
+
| 'menuitem'
|
|
491
|
+
| 'menuitemcheckbox'
|
|
492
|
+
| 'menuitemradio'
|
|
493
|
+
| 'navigation'
|
|
494
|
+
| 'none'
|
|
495
|
+
| 'note'
|
|
496
|
+
| 'option'
|
|
497
|
+
| 'presentation'
|
|
498
|
+
| 'progressbar'
|
|
499
|
+
| 'radio'
|
|
500
|
+
| 'radiogroup'
|
|
501
|
+
| 'region'
|
|
502
|
+
| 'row'
|
|
503
|
+
| 'rowgroup'
|
|
504
|
+
| 'rowheader'
|
|
505
|
+
| 'scrollbar'
|
|
506
|
+
| 'search'
|
|
507
|
+
| 'searchbox'
|
|
508
|
+
| 'separator'
|
|
509
|
+
| 'slider'
|
|
510
|
+
| 'spinbutton'
|
|
511
|
+
| 'status'
|
|
512
|
+
| 'switch'
|
|
513
|
+
| 'tab'
|
|
514
|
+
| 'table'
|
|
515
|
+
| 'tablist'
|
|
516
|
+
| 'tabpanel'
|
|
517
|
+
| 'term'
|
|
518
|
+
| 'textbox'
|
|
519
|
+
| 'timer'
|
|
520
|
+
| 'toolbar'
|
|
521
|
+
| 'tooltip'
|
|
522
|
+
| 'tree'
|
|
523
|
+
| 'treegrid'
|
|
524
|
+
| 'treeitem'
|
|
525
|
+
| (string & {})
|
|
526
|
+
|
|
527
|
+
type ClassNameType = string | undefined | (string | undefined)[];
|
|
528
|
+
|
|
529
|
+
export interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
530
|
+
// React-specific Attributes
|
|
531
|
+
defaultChecked?: boolean | undefined;
|
|
532
|
+
defaultValue?: string | number | ReadonlyArray<string> | undefined;
|
|
533
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
534
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
535
|
+
|
|
536
|
+
// Standard HTML Attributes
|
|
537
|
+
accessKey?: string | undefined;
|
|
538
|
+
autoFocus?: boolean | undefined;
|
|
539
|
+
class?: ClassNameType | undefined;
|
|
540
|
+
className?: ClassNameType | undefined;
|
|
541
|
+
contentEditable?: Booleanish | 'inherit' | undefined;
|
|
542
|
+
contextMenu?: string | undefined;
|
|
543
|
+
dir?: string | undefined;
|
|
544
|
+
draggable?: Booleanish | undefined;
|
|
545
|
+
hidden?: boolean | undefined;
|
|
546
|
+
id?: string | undefined;
|
|
547
|
+
lang?: string | undefined;
|
|
548
|
+
nonce?: string | undefined;
|
|
549
|
+
placeholder?: string | undefined;
|
|
550
|
+
slot?: string | undefined;
|
|
551
|
+
spellCheck?: Booleanish | undefined;
|
|
552
|
+
style?: CSSProperties | undefined;
|
|
553
|
+
css?: string | undefined;
|
|
554
|
+
tabIndex?: number | undefined;
|
|
555
|
+
title?: string | undefined;
|
|
556
|
+
translate?: 'yes' | 'no' | undefined;
|
|
557
|
+
|
|
558
|
+
// Unknown
|
|
559
|
+
radioGroup?: string | undefined; // <command>, <menuitem>
|
|
560
|
+
|
|
561
|
+
// WAI-ARIA
|
|
562
|
+
role?: AriaRole | undefined;
|
|
563
|
+
|
|
564
|
+
// RDFa Attributes
|
|
565
|
+
about?: string | undefined;
|
|
566
|
+
content?: string | undefined;
|
|
567
|
+
datatype?: string | undefined;
|
|
568
|
+
inlist?: any;
|
|
569
|
+
prefix?: string | undefined;
|
|
570
|
+
property?: string | undefined;
|
|
571
|
+
rel?: string | undefined;
|
|
572
|
+
resource?: string | undefined;
|
|
573
|
+
rev?: string | undefined;
|
|
574
|
+
typeof?: string | undefined;
|
|
575
|
+
vocab?: string | undefined;
|
|
576
|
+
|
|
577
|
+
// Non-standard Attributes
|
|
578
|
+
autoCapitalize?: string | undefined;
|
|
579
|
+
autoCorrect?: string | undefined;
|
|
580
|
+
autoSave?: string | undefined;
|
|
581
|
+
color?: string | undefined;
|
|
582
|
+
itemProp?: string | undefined;
|
|
583
|
+
itemScope?: boolean | undefined;
|
|
584
|
+
itemType?: string | undefined;
|
|
585
|
+
itemID?: string | undefined;
|
|
586
|
+
itemRef?: string | undefined;
|
|
587
|
+
results?: number | undefined;
|
|
588
|
+
security?: string | undefined;
|
|
589
|
+
unselectable?: 'on' | 'off' | undefined;
|
|
590
|
+
|
|
591
|
+
// Living Standard
|
|
592
|
+
/**
|
|
593
|
+
* Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
594
|
+
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
|
|
595
|
+
*/
|
|
596
|
+
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* Specify that a standard HTML element should behave like a defined custom built-in element
|
|
599
|
+
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
600
|
+
*/
|
|
601
|
+
is?: string | undefined;
|
|
602
|
+
|
|
603
|
+
//assignStyle?: AssignedStyle
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type HTMLAttributeAnchorTarget =
|
|
607
|
+
| '_self'
|
|
608
|
+
| '_blank'
|
|
609
|
+
| '_parent'
|
|
610
|
+
| '_top'
|
|
611
|
+
| (string & {});
|
|
612
|
+
|
|
613
|
+
type HTMLAttributeReferrerPolicy =
|
|
614
|
+
| ''
|
|
615
|
+
| 'no-referrer'
|
|
616
|
+
| 'no-referrer-when-downgrade'
|
|
617
|
+
| 'origin'
|
|
618
|
+
| 'origin-when-cross-origin'
|
|
619
|
+
| 'same-origin'
|
|
620
|
+
| 'strict-origin'
|
|
621
|
+
| 'strict-origin-when-cross-origin'
|
|
622
|
+
| 'unsafe-url';
|
|
623
|
+
|
|
624
|
+
export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
625
|
+
download?: any;
|
|
626
|
+
href?: string | undefined;
|
|
627
|
+
hrefLang?: string | undefined;
|
|
628
|
+
media?: string | undefined;
|
|
629
|
+
ping?: string | undefined;
|
|
630
|
+
target?: HTMLAttributeAnchorTarget | undefined;
|
|
631
|
+
type?: string | undefined;
|
|
632
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
636
|
+
|
|
637
|
+
export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
638
|
+
alt?: string | undefined;
|
|
639
|
+
coords?: string | undefined;
|
|
640
|
+
download?: any;
|
|
641
|
+
href?: string | undefined;
|
|
642
|
+
hrefLang?: string | undefined;
|
|
643
|
+
media?: string | undefined;
|
|
644
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
645
|
+
shape?: string | undefined;
|
|
646
|
+
target?: string | undefined;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
650
|
+
href?: string | undefined;
|
|
651
|
+
target?: string | undefined;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
655
|
+
cite?: string | undefined;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export interface ButtonHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
659
|
+
disabled?: boolean | undefined;
|
|
660
|
+
form?: string | undefined;
|
|
661
|
+
formAction?:
|
|
662
|
+
| string
|
|
663
|
+
//| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS]
|
|
664
|
+
| undefined;
|
|
665
|
+
formEncType?: string | undefined;
|
|
666
|
+
formMethod?: string | undefined;
|
|
667
|
+
formNoValidate?: boolean | undefined;
|
|
668
|
+
formTarget?: string | undefined;
|
|
669
|
+
name?: string | undefined;
|
|
670
|
+
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
671
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
672
|
+
|
|
673
|
+
// tungsten bind
|
|
674
|
+
bind?: BindVariable<BO> | undefined;
|
|
675
|
+
filter?: FilterFuncString<ButtonMouseEvent, unknown> | undefined;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
679
|
+
height?: number | string | undefined;
|
|
680
|
+
width?: number | string | undefined;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
684
|
+
span?: number | undefined;
|
|
685
|
+
width?: number | string | undefined;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
689
|
+
span?: number | undefined;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export interface DataHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
693
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
694
|
+
|
|
695
|
+
// tungsten bind
|
|
696
|
+
bind?: BindVariable<BO> | undefined;
|
|
697
|
+
filter?: FilterFuncString<any, unknown> | undefined;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
701
|
+
open?: boolean | undefined;
|
|
702
|
+
onToggle?: TungstenEventHandler<T> | undefined;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
706
|
+
cite?: string | undefined;
|
|
707
|
+
dateTime?: string | undefined;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
711
|
+
onCancel?: TungstenEventHandler<T> | undefined;
|
|
712
|
+
onClose?: TungstenEventHandler<T> | undefined;
|
|
713
|
+
open?: boolean | undefined;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
717
|
+
height?: number | string | undefined;
|
|
718
|
+
src?: string | undefined;
|
|
719
|
+
type?: string | undefined;
|
|
720
|
+
width?: number | string | undefined;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
724
|
+
disabled?: boolean | undefined;
|
|
725
|
+
form?: string | undefined;
|
|
726
|
+
name?: string | undefined;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
730
|
+
acceptCharset?: string | undefined;
|
|
731
|
+
action?:
|
|
732
|
+
| string
|
|
733
|
+
| undefined
|
|
734
|
+
//| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS];
|
|
735
|
+
autoComplete?: string | undefined;
|
|
736
|
+
encType?: string | undefined;
|
|
737
|
+
method?: string | undefined;
|
|
738
|
+
name?: string | undefined;
|
|
739
|
+
noValidate?: boolean | undefined;
|
|
740
|
+
target?: string | undefined;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
744
|
+
manifest?: string | undefined;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
748
|
+
allow?: string | undefined;
|
|
749
|
+
allowFullScreen?: boolean | undefined;
|
|
750
|
+
allowTransparency?: boolean | undefined;
|
|
751
|
+
/** @deprecated */
|
|
752
|
+
frameBorder?: number | string | undefined;
|
|
753
|
+
height?: number | string | undefined;
|
|
754
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
755
|
+
/** @deprecated */
|
|
756
|
+
marginHeight?: number | undefined;
|
|
757
|
+
/** @deprecated */
|
|
758
|
+
marginWidth?: number | undefined;
|
|
759
|
+
name?: string | undefined;
|
|
760
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
761
|
+
sandbox?: string | undefined;
|
|
762
|
+
/** @deprecated */
|
|
763
|
+
scrolling?: string | undefined;
|
|
764
|
+
seamless?: boolean | undefined;
|
|
765
|
+
src?: string | undefined;
|
|
766
|
+
srcDoc?: string | undefined;
|
|
767
|
+
width?: number | string | undefined;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
771
|
+
alt?: string | undefined;
|
|
772
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
773
|
+
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
774
|
+
height?: number | string | undefined;
|
|
775
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
776
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
777
|
+
sizes?: string | undefined;
|
|
778
|
+
src?: string | undefined;
|
|
779
|
+
srcSet?: string | undefined;
|
|
780
|
+
useMap?: string | undefined;
|
|
781
|
+
width?: number | string | undefined;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
785
|
+
cite?: string | undefined;
|
|
786
|
+
dateTime?: string | undefined;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type HTMLInputTypeAttribute =
|
|
790
|
+
| 'button'
|
|
791
|
+
| 'checkbox'
|
|
792
|
+
| 'color'
|
|
793
|
+
| 'date'
|
|
794
|
+
| 'datetime-local'
|
|
795
|
+
| 'email'
|
|
796
|
+
| 'file'
|
|
797
|
+
| 'hidden'
|
|
798
|
+
| 'image'
|
|
799
|
+
| 'month'
|
|
800
|
+
| 'number'
|
|
801
|
+
| 'password'
|
|
802
|
+
| 'radio'
|
|
803
|
+
| 'range'
|
|
804
|
+
| 'reset'
|
|
805
|
+
| 'search'
|
|
806
|
+
| 'submit'
|
|
807
|
+
| 'tel'
|
|
808
|
+
| 'text'
|
|
809
|
+
| 'time'
|
|
810
|
+
| 'url'
|
|
811
|
+
| 'week'
|
|
812
|
+
| (string & {});
|
|
813
|
+
|
|
814
|
+
// interface InputCheckboxHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
815
|
+
// accept?: string | undefined;
|
|
816
|
+
// alt?: string | undefined;
|
|
817
|
+
// autoComplete?: string | undefined;
|
|
818
|
+
// capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
819
|
+
// checked?: boolean | undefined;
|
|
820
|
+
// crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
821
|
+
// disabled?: boolean | undefined;
|
|
822
|
+
// enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
823
|
+
// form?: string | undefined;
|
|
824
|
+
// formAction?: string | undefined;
|
|
825
|
+
// formEncType?: string | undefined;
|
|
826
|
+
// formMethod?: string | undefined;
|
|
827
|
+
// formNoValidate?: boolean | undefined;
|
|
828
|
+
// formTarget?: string | undefined;
|
|
829
|
+
// height?: number | string | undefined;
|
|
830
|
+
// list?: string | undefined;
|
|
831
|
+
// max?: number | string | undefined;
|
|
832
|
+
// maxLength?: number | undefined;
|
|
833
|
+
// min?: number | string | undefined;
|
|
834
|
+
// minLength?: number | undefined;
|
|
835
|
+
// multiple?: boolean | undefined;
|
|
836
|
+
// name?: string | undefined;
|
|
837
|
+
// pattern?: string | undefined;
|
|
838
|
+
// placeholder?: string | undefined;
|
|
839
|
+
// readOnly?: boolean | undefined;
|
|
840
|
+
// required?: boolean | undefined;
|
|
841
|
+
// size?: number | undefined;
|
|
842
|
+
// src?: string | undefined;
|
|
843
|
+
// step?: number | string | undefined;
|
|
844
|
+
// type?: 'checkbox';
|
|
845
|
+
// value?: string | ReadonlyArray<string> | number | undefined;
|
|
846
|
+
// width?: number | string | undefined;
|
|
847
|
+
|
|
848
|
+
// // tungsten bind
|
|
849
|
+
// bind?: BindVariable<BO> | undefined;
|
|
850
|
+
// filter?: FilterFuncCheckbox<InputEvent & InputKeyboardEvent, unknown>;
|
|
851
|
+
|
|
852
|
+
// onChange?: ChangeEventHandler<T> | undefined;
|
|
853
|
+
// }
|
|
854
|
+
// interface InputNonCheckboxHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
855
|
+
// accept?: string | undefined;
|
|
856
|
+
// alt?: string | undefined;
|
|
857
|
+
// autoComplete?: string | undefined;
|
|
858
|
+
// capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
859
|
+
// checked?: boolean | undefined;
|
|
860
|
+
// crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
861
|
+
// disabled?: boolean | undefined;
|
|
862
|
+
// enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
863
|
+
// form?: string | undefined;
|
|
864
|
+
// formAction?: string | undefined;
|
|
865
|
+
// formEncType?: string | undefined;
|
|
866
|
+
// formMethod?: string | undefined;
|
|
867
|
+
// formNoValidate?: boolean | undefined;
|
|
868
|
+
// formTarget?: string | undefined;
|
|
869
|
+
// height?: number | string | undefined;
|
|
870
|
+
// list?: string | undefined;
|
|
871
|
+
// max?: number | string | undefined;
|
|
872
|
+
// maxLength?: number | undefined;
|
|
873
|
+
// min?: number | string | undefined;
|
|
874
|
+
// minLength?: number | undefined;
|
|
875
|
+
// multiple?: boolean | undefined;
|
|
876
|
+
// name?: string | undefined;
|
|
877
|
+
// pattern?: string | undefined;
|
|
878
|
+
// placeholder?: string | undefined;
|
|
879
|
+
// readOnly?: boolean | undefined;
|
|
880
|
+
// required?: boolean | undefined;
|
|
881
|
+
// size?: number | undefined;
|
|
882
|
+
// src?: string | undefined;
|
|
883
|
+
// step?: number | string | undefined;
|
|
884
|
+
// type?: Exclude<HTMLInputTypeAttribute, 'checkbox'> | undefined;
|
|
885
|
+
// value?: string | ReadonlyArray<string> | number | undefined;
|
|
886
|
+
// width?: number | string | undefined;
|
|
887
|
+
|
|
888
|
+
// // tungsten bind
|
|
889
|
+
// bind?: BindVariable<BO> | undefined;
|
|
890
|
+
// filter?: FilterFuncCheckbox<InputEvent & InputKeyboardEvent, unknown>;
|
|
891
|
+
|
|
892
|
+
// onChange?: ChangeEventHandler<T> | undefined;
|
|
893
|
+
// }
|
|
894
|
+
|
|
895
|
+
// export type InputHTMLAttributes<T, BO extends object> = InputCheckboxHTMLAttributes<T, BO> | InputNonCheckboxHTMLAttributes<T, BO>
|
|
896
|
+
|
|
897
|
+
export interface InputHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
898
|
+
accept?: string | undefined;
|
|
899
|
+
alt?: string | undefined;
|
|
900
|
+
autoComplete?: string | undefined;
|
|
901
|
+
capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
|
|
902
|
+
checked?: boolean | undefined;
|
|
903
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
904
|
+
disabled?: boolean | undefined;
|
|
905
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
906
|
+
form?: string | undefined;
|
|
907
|
+
formAction?: string | undefined;
|
|
908
|
+
formEncType?: string | undefined;
|
|
909
|
+
formMethod?: string | undefined;
|
|
910
|
+
formNoValidate?: boolean | undefined;
|
|
911
|
+
formTarget?: string | undefined;
|
|
912
|
+
height?: number | string | undefined;
|
|
913
|
+
list?: string | undefined;
|
|
914
|
+
max?: number | string | undefined;
|
|
915
|
+
maxLength?: number | undefined;
|
|
916
|
+
min?: number | string | undefined;
|
|
917
|
+
minLength?: number | undefined;
|
|
918
|
+
multiple?: boolean | undefined;
|
|
919
|
+
name?: string | undefined;
|
|
920
|
+
pattern?: string | undefined;
|
|
921
|
+
placeholder?: string | undefined;
|
|
922
|
+
readOnly?: boolean | undefined;
|
|
923
|
+
required?: boolean | undefined;
|
|
924
|
+
size?: number | undefined;
|
|
925
|
+
src?: string | undefined;
|
|
926
|
+
step?: number | string | undefined;
|
|
927
|
+
type?: HTMLInputTypeAttribute | undefined;
|
|
928
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
929
|
+
width?: number | string | undefined;
|
|
930
|
+
|
|
931
|
+
// tungsten bind
|
|
932
|
+
//bind?: BindVariable<BO> | undefined;
|
|
933
|
+
//filter?: FilterFuncString<InputEvent & InputKeyboardEvent, unknown> | FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | undefined;
|
|
934
|
+
|
|
935
|
+
//bindChecked?: BindVariable<BO> | undefined;
|
|
936
|
+
//filterChecked?: FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | FilterCheckedFunc<InputEvent & InputKeyboardEvent, unknown> | undefined;
|
|
937
|
+
|
|
938
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
942
|
+
challenge?: string | undefined;
|
|
943
|
+
disabled?: boolean | undefined;
|
|
944
|
+
form?: string | undefined;
|
|
945
|
+
keyType?: string | undefined;
|
|
946
|
+
keyParams?: string | undefined;
|
|
947
|
+
name?: string | undefined;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
951
|
+
form?: string | undefined;
|
|
952
|
+
for?: string | undefined;
|
|
953
|
+
htmlFor?: string | undefined;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export interface LiHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
957
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
958
|
+
|
|
959
|
+
// tungsten bind
|
|
960
|
+
bind?: BindVariable<BO> | undefined;
|
|
961
|
+
filter?: FilterFuncNumber<any, unknown> | undefined;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
965
|
+
as?: string | undefined;
|
|
966
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
967
|
+
fetchpriority?: 'high' | 'low' | 'auto';
|
|
968
|
+
href?: string | undefined;
|
|
969
|
+
hrefLang?: string | undefined;
|
|
970
|
+
integrity?: string | undefined;
|
|
971
|
+
media?: string | undefined;
|
|
972
|
+
imageSrcSet?: string | undefined;
|
|
973
|
+
imageSizes?: string | undefined;
|
|
974
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
975
|
+
sizes?: string | undefined;
|
|
976
|
+
type?: string | undefined;
|
|
977
|
+
charSet?: string | undefined;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
981
|
+
name?: string | undefined;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
985
|
+
type?: string | undefined;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
989
|
+
autoPlay?: boolean | undefined;
|
|
990
|
+
controls?: boolean | undefined;
|
|
991
|
+
controlsList?: string | undefined;
|
|
992
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
993
|
+
loop?: boolean | undefined;
|
|
994
|
+
mediaGroup?: string | undefined;
|
|
995
|
+
muted?: boolean | undefined;
|
|
996
|
+
playsInline?: boolean | undefined;
|
|
997
|
+
preload?: string | undefined;
|
|
998
|
+
src?: string | undefined;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1002
|
+
charSet?: string | undefined;
|
|
1003
|
+
httpEquiv?: string | undefined;
|
|
1004
|
+
name?: string | undefined;
|
|
1005
|
+
media?: string | undefined;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export interface MeterHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1009
|
+
form?: string | undefined;
|
|
1010
|
+
high?: number | undefined;
|
|
1011
|
+
low?: number | undefined;
|
|
1012
|
+
max?: number | string | undefined;
|
|
1013
|
+
min?: number | string | undefined;
|
|
1014
|
+
optimum?: number | undefined;
|
|
1015
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1016
|
+
|
|
1017
|
+
// tungsten bind
|
|
1018
|
+
bind?: BindVariable<BO> | undefined;
|
|
1019
|
+
filter?: FilterFuncNumber<any, unknown> | undefined;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1023
|
+
cite?: string | undefined;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1027
|
+
classID?: string | undefined;
|
|
1028
|
+
data?: string | undefined;
|
|
1029
|
+
form?: string | undefined;
|
|
1030
|
+
height?: number | string | undefined;
|
|
1031
|
+
name?: string | undefined;
|
|
1032
|
+
type?: string | undefined;
|
|
1033
|
+
useMap?: string | undefined;
|
|
1034
|
+
width?: number | string | undefined;
|
|
1035
|
+
wmode?: string | undefined;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1039
|
+
reversed?: boolean | undefined;
|
|
1040
|
+
start?: number | undefined;
|
|
1041
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1045
|
+
disabled?: boolean | undefined;
|
|
1046
|
+
label?: string | undefined;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export interface OptionHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1050
|
+
disabled?: boolean | undefined;
|
|
1051
|
+
label?: string | undefined;
|
|
1052
|
+
selected?: boolean | undefined;
|
|
1053
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1054
|
+
|
|
1055
|
+
// tungsten bind
|
|
1056
|
+
bind?: BindVariable<BO> | undefined;
|
|
1057
|
+
filter?: FilterFuncString<any, unknown> | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1061
|
+
form?: string | undefined;
|
|
1062
|
+
for?: string | undefined;
|
|
1063
|
+
htmlFor?: string | undefined;
|
|
1064
|
+
name?: string | undefined;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
export interface ParamHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1068
|
+
name?: string | undefined;
|
|
1069
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1070
|
+
|
|
1071
|
+
// tungsten bind
|
|
1072
|
+
bind?: BindVariable<BO> | undefined;
|
|
1073
|
+
filter?: FilterFuncString<any, unknown> | undefined;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export interface ProgressHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1077
|
+
max?: number | string | undefined;
|
|
1078
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1079
|
+
|
|
1080
|
+
// tungsten bind
|
|
1081
|
+
bind?: BindVariable<BO> | undefined;
|
|
1082
|
+
filter?: FilterFuncNumber<ProgressEvent, unknown> | undefined;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export interface SlotHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1086
|
+
name?: string | undefined;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1090
|
+
async?: boolean | undefined;
|
|
1091
|
+
/** @deprecated */
|
|
1092
|
+
charSet?: string | undefined;
|
|
1093
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
1094
|
+
defer?: boolean | undefined;
|
|
1095
|
+
integrity?: string | undefined;
|
|
1096
|
+
noModule?: boolean | undefined;
|
|
1097
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
1098
|
+
src?: string | undefined;
|
|
1099
|
+
type?: string | undefined;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export interface SelectHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1103
|
+
autoComplete?: string | undefined;
|
|
1104
|
+
disabled?: boolean | undefined;
|
|
1105
|
+
form?: string | undefined;
|
|
1106
|
+
multiple?: boolean | undefined;
|
|
1107
|
+
name?: string | undefined;
|
|
1108
|
+
required?: boolean | undefined;
|
|
1109
|
+
size?: number | undefined;
|
|
1110
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1111
|
+
|
|
1112
|
+
// tungsten bind
|
|
1113
|
+
bind?: BindVariable<BO> | undefined;
|
|
1114
|
+
filter?: FilterSelectFunc<any, any, any> | undefined;
|
|
1115
|
+
|
|
1116
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1120
|
+
height?: number | string | undefined;
|
|
1121
|
+
media?: string | undefined;
|
|
1122
|
+
sizes?: string | undefined;
|
|
1123
|
+
src?: string | undefined;
|
|
1124
|
+
srcSet?: string | undefined;
|
|
1125
|
+
type?: string | undefined;
|
|
1126
|
+
width?: number | string | undefined;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1130
|
+
media?: string | undefined;
|
|
1131
|
+
scoped?: boolean | undefined;
|
|
1132
|
+
type?: string | undefined;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1136
|
+
align?: 'left' | 'center' | 'right' | undefined;
|
|
1137
|
+
bgcolor?: string | undefined;
|
|
1138
|
+
border?: number | undefined;
|
|
1139
|
+
cellPadding?: number | string | undefined;
|
|
1140
|
+
cellSpacing?: number | string | undefined;
|
|
1141
|
+
frame?: boolean | undefined;
|
|
1142
|
+
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
|
|
1143
|
+
summary?: string | undefined;
|
|
1144
|
+
width?: number | string | undefined;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
export interface TextareaHTMLAttributes<T, BO extends object> extends HTMLAttributes<T> {
|
|
1148
|
+
autoComplete?: string | undefined;
|
|
1149
|
+
cols?: number | undefined;
|
|
1150
|
+
dirName?: string | undefined;
|
|
1151
|
+
disabled?: boolean | undefined;
|
|
1152
|
+
form?: string | undefined;
|
|
1153
|
+
maxLength?: number | undefined;
|
|
1154
|
+
minLength?: number | undefined;
|
|
1155
|
+
name?: string | undefined;
|
|
1156
|
+
placeholder?: string | undefined;
|
|
1157
|
+
readOnly?: boolean | undefined;
|
|
1158
|
+
required?: boolean | undefined;
|
|
1159
|
+
rows?: number | undefined;
|
|
1160
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
1161
|
+
wrap?: string | undefined;
|
|
1162
|
+
|
|
1163
|
+
// tungsten bind
|
|
1164
|
+
bind?: BindVariable<BO> | undefined;
|
|
1165
|
+
filter?: FilterFuncString<TextareaKeyboardEvent, unknown> | undefined;
|
|
1166
|
+
|
|
1167
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1171
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
1172
|
+
colSpan?: number | undefined;
|
|
1173
|
+
headers?: string | undefined;
|
|
1174
|
+
rowSpan?: number | undefined;
|
|
1175
|
+
scope?: string | undefined;
|
|
1176
|
+
abbr?: string | undefined;
|
|
1177
|
+
height?: number | string | undefined;
|
|
1178
|
+
width?: number | string | undefined;
|
|
1179
|
+
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1183
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
1184
|
+
colSpan?: number | undefined;
|
|
1185
|
+
headers?: string | undefined;
|
|
1186
|
+
rowSpan?: number | undefined;
|
|
1187
|
+
scope?: string | undefined;
|
|
1188
|
+
abbr?: string | undefined;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1192
|
+
dateTime?: string | undefined;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1196
|
+
default?: boolean | undefined;
|
|
1197
|
+
kind?: string | undefined;
|
|
1198
|
+
label?: string | undefined;
|
|
1199
|
+
src?: string | undefined;
|
|
1200
|
+
srcLang?: string | undefined;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
1204
|
+
height?: number | string | undefined;
|
|
1205
|
+
playsInline?: boolean | undefined;
|
|
1206
|
+
poster?: string | undefined;
|
|
1207
|
+
width?: number | string | undefined;
|
|
1208
|
+
disablePictureInPicture?: boolean | undefined;
|
|
1209
|
+
disableRemotePlayback?: boolean | undefined;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1213
|
+
allowFullScreen?: boolean | undefined;
|
|
1214
|
+
allowpopups?: boolean | undefined;
|
|
1215
|
+
autosize?: boolean | undefined;
|
|
1216
|
+
blinkfeatures?: string | undefined;
|
|
1217
|
+
disableblinkfeatures?: string | undefined;
|
|
1218
|
+
disableguestresize?: boolean | undefined;
|
|
1219
|
+
disablewebsecurity?: boolean | undefined;
|
|
1220
|
+
guestinstance?: string | undefined;
|
|
1221
|
+
httpreferrer?: string | undefined;
|
|
1222
|
+
nodeintegration?: boolean | undefined;
|
|
1223
|
+
partition?: string | undefined;
|
|
1224
|
+
plugins?: boolean | undefined;
|
|
1225
|
+
preload?: string | undefined;
|
|
1226
|
+
src?: string | undefined;
|
|
1227
|
+
useragent?: string | undefined;
|
|
1228
|
+
webpreferences?: string | undefined;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
// this list is "complete" in that it contains every SVG attribute
|
|
1232
|
+
// that React supports, but the types can be improved.
|
|
1233
|
+
// Full list here: https://facebook.github.io/react/docs/dom-elements.html
|
|
1234
|
+
//
|
|
1235
|
+
// The three broad type categories are (in order of restrictiveness):
|
|
1236
|
+
// - "number | string"
|
|
1237
|
+
// - "string"
|
|
1238
|
+
// - union of string literals
|
|
1239
|
+
export interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
1240
|
+
// Attributes which also defined in HTMLAttributes
|
|
1241
|
+
// See comment in SVGDOMPropertyConfig.js
|
|
1242
|
+
class?: ClassNameType;
|
|
1243
|
+
className?: ClassNameType;
|
|
1244
|
+
color?: string | undefined;
|
|
1245
|
+
height?: number | string | undefined;
|
|
1246
|
+
id?: string | undefined;
|
|
1247
|
+
lang?: string | undefined;
|
|
1248
|
+
max?: number | string | undefined;
|
|
1249
|
+
media?: string | undefined;
|
|
1250
|
+
method?: string | undefined;
|
|
1251
|
+
min?: number | string | undefined;
|
|
1252
|
+
name?: string | undefined;
|
|
1253
|
+
style?: CSSProperties | undefined;
|
|
1254
|
+
target?: string | undefined;
|
|
1255
|
+
type?: string | undefined;
|
|
1256
|
+
width?: number | string | undefined;
|
|
1257
|
+
|
|
1258
|
+
// Other HTML properties supported by SVG elements in browsers
|
|
1259
|
+
role?: AriaRole | undefined;
|
|
1260
|
+
tabIndex?: number | undefined;
|
|
1261
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
1262
|
+
|
|
1263
|
+
// SVG Specific attributes
|
|
1264
|
+
accentHeight?: number | string | undefined;
|
|
1265
|
+
accumulate?: 'none' | 'sum' | undefined;
|
|
1266
|
+
additive?: 'replace' | 'sum' | undefined;
|
|
1267
|
+
alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' |
|
|
1268
|
+
'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined;
|
|
1269
|
+
allowReorder?: 'no' | 'yes' | undefined;
|
|
1270
|
+
alphabetic?: number | string | undefined;
|
|
1271
|
+
amplitude?: number | string | undefined;
|
|
1272
|
+
arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined;
|
|
1273
|
+
ascent?: number | string | undefined;
|
|
1274
|
+
attributeName?: string | undefined;
|
|
1275
|
+
attributeType?: string | undefined;
|
|
1276
|
+
autoReverse?: Booleanish | undefined;
|
|
1277
|
+
azimuth?: number | string | undefined;
|
|
1278
|
+
baseFrequency?: number | string | undefined;
|
|
1279
|
+
baselineShift?: number | string | undefined;
|
|
1280
|
+
baseProfile?: number | string | undefined;
|
|
1281
|
+
bbox?: number | string | undefined;
|
|
1282
|
+
begin?: number | string | undefined;
|
|
1283
|
+
bias?: number | string | undefined;
|
|
1284
|
+
by?: number | string | undefined;
|
|
1285
|
+
calcMode?: number | string | undefined;
|
|
1286
|
+
capHeight?: number | string | undefined;
|
|
1287
|
+
clip?: number | string | undefined;
|
|
1288
|
+
clipPath?: string | undefined;
|
|
1289
|
+
clipPathUnits?: number | string | undefined;
|
|
1290
|
+
clipRule?: number | string | undefined;
|
|
1291
|
+
colorInterpolation?: number | string | undefined;
|
|
1292
|
+
colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined;
|
|
1293
|
+
colorProfile?: number | string | undefined;
|
|
1294
|
+
colorRendering?: number | string | undefined;
|
|
1295
|
+
contentScriptType?: number | string | undefined;
|
|
1296
|
+
contentStyleType?: number | string | undefined;
|
|
1297
|
+
cursor?: number | string | undefined;
|
|
1298
|
+
cx?: number | string | undefined;
|
|
1299
|
+
cy?: number | string | undefined;
|
|
1300
|
+
d?: string | undefined;
|
|
1301
|
+
decelerate?: number | string | undefined;
|
|
1302
|
+
descent?: number | string | undefined;
|
|
1303
|
+
diffuseConstant?: number | string | undefined;
|
|
1304
|
+
direction?: number | string | undefined;
|
|
1305
|
+
display?: number | string | undefined;
|
|
1306
|
+
divisor?: number | string | undefined;
|
|
1307
|
+
dominantBaseline?: number | string | undefined;
|
|
1308
|
+
dur?: number | string | undefined;
|
|
1309
|
+
dx?: number | string | undefined;
|
|
1310
|
+
dy?: number | string | undefined;
|
|
1311
|
+
edgeMode?: number | string | undefined;
|
|
1312
|
+
elevation?: number | string | undefined;
|
|
1313
|
+
enableBackground?: number | string | undefined;
|
|
1314
|
+
end?: number | string | undefined;
|
|
1315
|
+
exponent?: number | string | undefined;
|
|
1316
|
+
externalResourcesRequired?: Booleanish | undefined;
|
|
1317
|
+
fill?: string | undefined;
|
|
1318
|
+
fillOpacity?: number | string | undefined;
|
|
1319
|
+
fillRule?: 'nonzero' | 'evenodd' | 'inherit' | undefined;
|
|
1320
|
+
filter?: string | undefined;
|
|
1321
|
+
filterRes?: number | string | undefined;
|
|
1322
|
+
filterUnits?: number | string | undefined;
|
|
1323
|
+
floodColor?: number | string | undefined;
|
|
1324
|
+
floodOpacity?: number | string | undefined;
|
|
1325
|
+
focusable?: Booleanish | 'auto' | undefined;
|
|
1326
|
+
fontFamily?: string | undefined;
|
|
1327
|
+
fontSize?: number | string | undefined;
|
|
1328
|
+
fontSizeAdjust?: number | string | undefined;
|
|
1329
|
+
fontStretch?: number | string | undefined;
|
|
1330
|
+
fontStyle?: number | string | undefined;
|
|
1331
|
+
fontVariant?: number | string | undefined;
|
|
1332
|
+
fontWeight?: number | string | undefined;
|
|
1333
|
+
format?: number | string | undefined;
|
|
1334
|
+
fr?: number | string | undefined;
|
|
1335
|
+
from?: number | string | undefined;
|
|
1336
|
+
fx?: number | string | undefined;
|
|
1337
|
+
fy?: number | string | undefined;
|
|
1338
|
+
g1?: number | string | undefined;
|
|
1339
|
+
g2?: number | string | undefined;
|
|
1340
|
+
glyphName?: number | string | undefined;
|
|
1341
|
+
glyphOrientationHorizontal?: number | string | undefined;
|
|
1342
|
+
glyphOrientationVertical?: number | string | undefined;
|
|
1343
|
+
glyphRef?: number | string | undefined;
|
|
1344
|
+
gradientTransform?: string | undefined;
|
|
1345
|
+
gradientUnits?: string | undefined;
|
|
1346
|
+
hanging?: number | string | undefined;
|
|
1347
|
+
horizAdvX?: number | string | undefined;
|
|
1348
|
+
horizOriginX?: number | string | undefined;
|
|
1349
|
+
href?: string | undefined;
|
|
1350
|
+
ideographic?: number | string | undefined;
|
|
1351
|
+
imageRendering?: number | string | undefined;
|
|
1352
|
+
in2?: number | string | undefined;
|
|
1353
|
+
in?: string | undefined;
|
|
1354
|
+
intercept?: number | string | undefined;
|
|
1355
|
+
k1?: number | string | undefined;
|
|
1356
|
+
k2?: number | string | undefined;
|
|
1357
|
+
k3?: number | string | undefined;
|
|
1358
|
+
k4?: number | string | undefined;
|
|
1359
|
+
k?: number | string | undefined;
|
|
1360
|
+
kernelMatrix?: number | string | undefined;
|
|
1361
|
+
kernelUnitLength?: number | string | undefined;
|
|
1362
|
+
kerning?: number | string | undefined;
|
|
1363
|
+
keyPoints?: number | string | undefined;
|
|
1364
|
+
keySplines?: number | string | undefined;
|
|
1365
|
+
keyTimes?: number | string | undefined;
|
|
1366
|
+
lengthAdjust?: number | string | undefined;
|
|
1367
|
+
letterSpacing?: number | string | undefined;
|
|
1368
|
+
lightingColor?: number | string | undefined;
|
|
1369
|
+
limitingConeAngle?: number | string | undefined;
|
|
1370
|
+
local?: number | string | undefined;
|
|
1371
|
+
markerEnd?: string | undefined;
|
|
1372
|
+
markerHeight?: number | string | undefined;
|
|
1373
|
+
markerMid?: string | undefined;
|
|
1374
|
+
markerStart?: string | undefined;
|
|
1375
|
+
markerUnits?: number | string | undefined;
|
|
1376
|
+
markerWidth?: number | string | undefined;
|
|
1377
|
+
mask?: string | undefined;
|
|
1378
|
+
maskContentUnits?: number | string | undefined;
|
|
1379
|
+
maskUnits?: number | string | undefined;
|
|
1380
|
+
mathematical?: number | string | undefined;
|
|
1381
|
+
mode?: number | string | undefined;
|
|
1382
|
+
numOctaves?: number | string | undefined;
|
|
1383
|
+
offset?: number | string | undefined;
|
|
1384
|
+
opacity?: number | string | undefined;
|
|
1385
|
+
operator?: number | string | undefined;
|
|
1386
|
+
order?: number | string | undefined;
|
|
1387
|
+
orient?: number | string | undefined;
|
|
1388
|
+
orientation?: number | string | undefined;
|
|
1389
|
+
origin?: number | string | undefined;
|
|
1390
|
+
overflow?: number | string | undefined;
|
|
1391
|
+
overlinePosition?: number | string | undefined;
|
|
1392
|
+
overlineThickness?: number | string | undefined;
|
|
1393
|
+
paintOrder?: number | string | undefined;
|
|
1394
|
+
panose1?: number | string | undefined;
|
|
1395
|
+
path?: string | undefined;
|
|
1396
|
+
pathLength?: number | string | undefined;
|
|
1397
|
+
patternContentUnits?: string | undefined;
|
|
1398
|
+
patternTransform?: number | string | undefined;
|
|
1399
|
+
patternUnits?: string | undefined;
|
|
1400
|
+
pointerEvents?: number | string | undefined;
|
|
1401
|
+
points?: string | undefined;
|
|
1402
|
+
pointsAtX?: number | string | undefined;
|
|
1403
|
+
pointsAtY?: number | string | undefined;
|
|
1404
|
+
pointsAtZ?: number | string | undefined;
|
|
1405
|
+
preserveAlpha?: Booleanish | undefined;
|
|
1406
|
+
preserveAspectRatio?: string | undefined;
|
|
1407
|
+
primitiveUnits?: number | string | undefined;
|
|
1408
|
+
r?: number | string | undefined;
|
|
1409
|
+
radius?: number | string | undefined;
|
|
1410
|
+
refX?: number | string | undefined;
|
|
1411
|
+
refY?: number | string | undefined;
|
|
1412
|
+
renderingIntent?: number | string | undefined;
|
|
1413
|
+
repeatCount?: number | string | undefined;
|
|
1414
|
+
repeatDur?: number | string | undefined;
|
|
1415
|
+
requiredExtensions?: number | string | undefined;
|
|
1416
|
+
requiredFeatures?: number | string | undefined;
|
|
1417
|
+
restart?: number | string | undefined;
|
|
1418
|
+
result?: string | undefined;
|
|
1419
|
+
rotate?: number | string | undefined;
|
|
1420
|
+
rx?: number | string | undefined;
|
|
1421
|
+
ry?: number | string | undefined;
|
|
1422
|
+
scale?: number | string | undefined;
|
|
1423
|
+
seed?: number | string | undefined;
|
|
1424
|
+
shapeRendering?: number | string | undefined;
|
|
1425
|
+
slope?: number | string | undefined;
|
|
1426
|
+
spacing?: number | string | undefined;
|
|
1427
|
+
specularConstant?: number | string | undefined;
|
|
1428
|
+
specularExponent?: number | string | undefined;
|
|
1429
|
+
speed?: number | string | undefined;
|
|
1430
|
+
spreadMethod?: string | undefined;
|
|
1431
|
+
startOffset?: number | string | undefined;
|
|
1432
|
+
stdDeviation?: number | string | undefined;
|
|
1433
|
+
stemh?: number | string | undefined;
|
|
1434
|
+
stemv?: number | string | undefined;
|
|
1435
|
+
stitchTiles?: number | string | undefined;
|
|
1436
|
+
stopColor?: string | undefined;
|
|
1437
|
+
stopOpacity?: number | string | undefined;
|
|
1438
|
+
strikethroughPosition?: number | string | undefined;
|
|
1439
|
+
strikethroughThickness?: number | string | undefined;
|
|
1440
|
+
string?: number | string | undefined;
|
|
1441
|
+
stroke?: string | undefined;
|
|
1442
|
+
strokeDasharray?: string | number | undefined;
|
|
1443
|
+
strokeDashoffset?: string | number | undefined;
|
|
1444
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
1445
|
+
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined;
|
|
1446
|
+
strokeMiterlimit?: number | string | undefined;
|
|
1447
|
+
strokeOpacity?: number | string | undefined;
|
|
1448
|
+
strokeWidth?: number | string | undefined;
|
|
1449
|
+
surfaceScale?: number | string | undefined;
|
|
1450
|
+
systemLanguage?: number | string | undefined;
|
|
1451
|
+
tableValues?: number | string | undefined;
|
|
1452
|
+
targetX?: number | string | undefined;
|
|
1453
|
+
targetY?: number | string | undefined;
|
|
1454
|
+
textAnchor?: string | undefined;
|
|
1455
|
+
textDecoration?: number | string | undefined;
|
|
1456
|
+
textLength?: number | string | undefined;
|
|
1457
|
+
textRendering?: number | string | undefined;
|
|
1458
|
+
to?: number | string | undefined;
|
|
1459
|
+
transform?: string | undefined;
|
|
1460
|
+
u1?: number | string | undefined;
|
|
1461
|
+
u2?: number | string | undefined;
|
|
1462
|
+
underlinePosition?: number | string | undefined;
|
|
1463
|
+
underlineThickness?: number | string | undefined;
|
|
1464
|
+
unicode?: number | string | undefined;
|
|
1465
|
+
unicodeBidi?: number | string | undefined;
|
|
1466
|
+
unicodeRange?: number | string | undefined;
|
|
1467
|
+
unitsPerEm?: number | string | undefined;
|
|
1468
|
+
vAlphabetic?: number | string | undefined;
|
|
1469
|
+
values?: string | undefined;
|
|
1470
|
+
vectorEffect?: number | string | undefined;
|
|
1471
|
+
version?: string | undefined;
|
|
1472
|
+
vertAdvY?: number | string | undefined;
|
|
1473
|
+
vertOriginX?: number | string | undefined;
|
|
1474
|
+
vertOriginY?: number | string | undefined;
|
|
1475
|
+
vHanging?: number | string | undefined;
|
|
1476
|
+
vIdeographic?: number | string | undefined;
|
|
1477
|
+
viewBox?: string | undefined;
|
|
1478
|
+
viewTarget?: number | string | undefined;
|
|
1479
|
+
visibility?: number | string | undefined;
|
|
1480
|
+
vMathematical?: number | string | undefined;
|
|
1481
|
+
widths?: number | string | undefined;
|
|
1482
|
+
wordSpacing?: number | string | undefined;
|
|
1483
|
+
writingMode?: number | string | undefined;
|
|
1484
|
+
x1?: number | string | undefined;
|
|
1485
|
+
x2?: number | string | undefined;
|
|
1486
|
+
x?: number | string | undefined;
|
|
1487
|
+
xChannelSelector?: string | undefined;
|
|
1488
|
+
xHeight?: number | string | undefined;
|
|
1489
|
+
xlinkActuate?: string | undefined;
|
|
1490
|
+
xlinkArcrole?: string | undefined;
|
|
1491
|
+
xlinkHref?: string | undefined;
|
|
1492
|
+
xlinkRole?: string | undefined;
|
|
1493
|
+
xlinkShow?: string | undefined;
|
|
1494
|
+
xlinkTitle?: string | undefined;
|
|
1495
|
+
xlinkType?: string | undefined;
|
|
1496
|
+
xmlBase?: string | undefined;
|
|
1497
|
+
xmlLang?: string | undefined;
|
|
1498
|
+
xmlns?: string | undefined;
|
|
1499
|
+
xmlnsXlink?: string | undefined;
|
|
1500
|
+
xmlSpace?: string | undefined;
|
|
1501
|
+
y1?: number | string | undefined;
|
|
1502
|
+
y2?: number | string | undefined;
|
|
1503
|
+
y?: number | string | undefined;
|
|
1504
|
+
yChannelSelector?: string | undefined;
|
|
1505
|
+
z?: number | string | undefined;
|
|
1506
|
+
zoomAndPan?: string | undefined;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
export type HTMLBindableElementString = HTMLButtonElement | HTMLDataElement | HTMLInputElement | HTMLOptionElement
|
|
1510
|
+
| HTMLParamElement | HTMLSelectElement | HTMLTextAreaElement
|
|
1511
|
+
export type HTMLBindableElementNumber = HTMLLIElement | HTMLMeterElement | HTMLProgressElement
|
|
1512
|
+
export type HTMLBindableElement = HTMLBindableElementString | HTMLBindableElementNumber
|
|
1513
|
+
|
|
1514
|
+
export type HTMLCheckedBindableElement = HTMLInputElement
|