dothtml 5.2.2 → 5.2.4
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/lib/dothtml.js +1 -1
- package/package.json +2 -1
- package/.vscode/launch.json +0 -34
- package/.vscode/settings.json +0 -6
- package/azure-pipelines.yml +0 -14
- package/babel.config.js +0 -1
- package/jest.config.ts +0 -207
- package/out.md +0 -1340
- package/src/arg-callback-obj.ts +0 -76
- package/src/built-in-components/nav-link.ts +0 -21
- package/src/built-in-components/router.ts +0 -315
- package/src/component.ts +0 -415
- package/src/dot-util.ts +0 -69
- package/src/dot.ts +0 -1147
- package/src/dothtml.ts +0 -39
- package/src/err.ts +0 -22
- package/src/event-bus.ts +0 -39
- package/src/i-dot.ts +0 -787
- package/src/node-polyfill.ts +0 -11
- package/src/observable-array.ts +0 -289
- package/src/styling/css-types.ts/css-angle.ts +0 -18
- package/src/styling/css-types.ts/css-color.ts +0 -233
- package/src/styling/css-types.ts/css-complex.ts +0 -20
- package/src/styling/css-types.ts/css-data-type.ts +0 -9
- package/src/styling/css-types.ts/css-filter.ts +0 -134
- package/src/styling/css-types.ts/css-length.ts +0 -20
- package/src/styling/css-types.ts/css-number.ts +0 -12
- package/src/styling/css-types.ts/css-percentage.ts +0 -10
- package/src/styling/css-types.ts/css-transform.ts +0 -220
- package/src/styling/css-types.ts/css-unknown.ts +0 -13
- package/src/styling/css-types.ts/css-url.ts +0 -41
- package/src/styling/i-dotcss.ts +0 -1198
- package/src/styling/style-builder.ts +0 -967
- package/src/styling/unit-function-tables.ts +0 -24
- package/tsconfig.json +0 -99
- package/unittests/advanced-bindings.test.ts +0 -421
- package/unittests/array-evaluation.test.ts +0 -7
- package/unittests/basic-functionality.test.ts +0 -88
- package/unittests/calc.test.ts +0 -6
- package/unittests/class-binding.test.ts +0 -227
- package/unittests/components/component-decorator.-.ts +0 -14
- package/unittests/components/components-data.test.ts +0 -153
- package/unittests/components/components.test.ts +0 -258
- package/unittests/computed.test.ts +0 -35
- package/unittests/core.ts +0 -66
- package/unittests/element-and-attribute-coverage.test.ts +0 -472
- package/unittests/hooks.test.ts +0 -67
- package/unittests/immutable-if.test.ts +0 -19
- package/unittests/input-bindings.test.ts +0 -166
- package/unittests/integration.test.ts +0 -5
- package/unittests/iterations.test.ts +0 -18
- package/unittests/logic.test.ts +0 -18
- package/unittests/non-function-props-rerender.test.ts +0 -86
- package/unittests/refs.test.ts +0 -36
- package/unittests/routing.-.ts +0 -56
- package/unittests/scopes.test.ts +0 -22
- package/unittests/special-tags.test.ts +0 -39
- package/unittests/styles.test.ts +0 -9
- package/unittests/styling/animations.test.ts +0 -14
- package/unittests/styling/filters.test.ts +0 -23
- package/unittests/styling/inline-styling.test.ts +0 -18
- package/unittests/styling/pseudo-selectors.test.ts +0 -33
- package/unittests/styling/transformations.test.ts +0 -234
- package/unittests/styling/value-interpretation.test.ts +0 -3
- package/unittests/testpage.ts +0 -5
- package/unittests/wait.test.ts +0 -31
- package/webpack.config.js +0 -28
package/src/i-dot.ts
DELETED
|
@@ -1,787 +0,0 @@
|
|
|
1
|
-
import EventBus from "./event-bus";
|
|
2
|
-
import type Component from "./component";
|
|
3
|
-
import IDotCss, { IDotcssProp } from "./styling/i-dotcss";
|
|
4
|
-
|
|
5
|
-
export type DotContentPrimitive = string|number|boolean;
|
|
6
|
-
export type DotContentBasic = DotContentPrimitive|Node|Element|NodeList|Component|IDotDocument//typeof DotDocument;
|
|
7
|
-
export type DotContent = DotContentBasic|Array<DotContent>|(()=>DotContent);
|
|
8
|
-
|
|
9
|
-
// Global interface containing elements:
|
|
10
|
-
export interface IDotDocument
|
|
11
|
-
{
|
|
12
|
-
// Creating a blank DotDocument.
|
|
13
|
-
(document?: Element, classPrefix?: number): void;
|
|
14
|
-
|
|
15
|
-
// Internal use only:
|
|
16
|
-
_appendOrCreateDocument(content: DotContent, parentEl?: Element, beforeNode?: Node|number);
|
|
17
|
-
|
|
18
|
-
// Main functions.
|
|
19
|
-
// TODO: please make this into a test case.
|
|
20
|
-
/**
|
|
21
|
-
* Cast any document to any other element type. This can be used to access attributes when dotHTML doesn't know the type.
|
|
22
|
-
* @example
|
|
23
|
-
* dot("#my-input").as(dot.input).value("Hello, world!")
|
|
24
|
-
* @example
|
|
25
|
-
* dot.h("<a>Click me!</a>").as(dot.a).hRef("https://dothtml.com/")
|
|
26
|
-
*/
|
|
27
|
-
as<T extends IDotDocument>(dotElement: (...props: any[])=>T): T;
|
|
28
|
-
/**
|
|
29
|
-
* Creates a custom element.
|
|
30
|
-
*/
|
|
31
|
-
el(tag: string, content?: DotContent): IDotElementDocument<IDotGenericElement>
|
|
32
|
-
|
|
33
|
-
// Special "tags"
|
|
34
|
-
/**
|
|
35
|
-
* Creates a generic HTML node that can render a string, HTML nodes, or dotHTML content.
|
|
36
|
-
*/
|
|
37
|
-
h(content?: DotContent): IDotDocument;
|
|
38
|
-
/**
|
|
39
|
-
* Creates a text node that will render as a string, rather than being parsed as markup.
|
|
40
|
-
*/
|
|
41
|
-
t(content?: any): IDotA;
|
|
42
|
-
/**
|
|
43
|
-
* Iterates n times, appending the result of each iteration to the VDBO.
|
|
44
|
-
* @param n The number of iterations.
|
|
45
|
-
* @param callback The markup-generating callback.
|
|
46
|
-
*/
|
|
47
|
-
iterate(n: number, callback: (i: number)=>DotContent): IDotDocument;
|
|
48
|
-
each<T>(a: Array<T>|(()=>Array<T>)|{[key: string]: T}, callback: (x: T, i: number|string)=>DotContent): IDotDocument;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Removes the targeted document and everything in it.
|
|
52
|
-
*/
|
|
53
|
-
remove(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Get the last HTML element added to the targeted document.
|
|
56
|
-
*/
|
|
57
|
-
getLast(): HTMLElement;
|
|
58
|
-
/**
|
|
59
|
-
* Deletes each element within the targeted document.
|
|
60
|
-
*/
|
|
61
|
-
empty(): IDotDocument;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Executes a function immediately.
|
|
65
|
-
*/
|
|
66
|
-
script(callback: Function): IDotDocument;
|
|
67
|
-
/**
|
|
68
|
-
* A conditional function, analogous to if. Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
|
|
69
|
-
*/
|
|
70
|
-
when(condition:(()=>boolean)|boolean, callback: (()=>void)|DotContent): IDotDocument;
|
|
71
|
-
/**
|
|
72
|
-
* A conditional catch, analogous to else if. Can be used after a when function. Evaluates if the previous when's condition was false.
|
|
73
|
-
* Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
|
|
74
|
-
*/
|
|
75
|
-
otherwiseWhen(condition:(()=>boolean)|boolean, callback: (()=>void)|DotContent): IDotDocument;
|
|
76
|
-
/**
|
|
77
|
-
* A conditional final catch, analogous to else. Can be used after a when or otherwiseWhen function. Evaluates if the previous when/otherwiseWhen evaluated to false.
|
|
78
|
-
* Renders the specified DOT if a condition is met. Dynamic binding is possible when callback is a function.
|
|
79
|
-
*/
|
|
80
|
-
otherwise(callback: (()=>void)|DotContent): IDotDocument;
|
|
81
|
-
|
|
82
|
-
scopeClass(prefix: number|string|null, content: DotContent): IDotDocument;
|
|
83
|
-
|
|
84
|
-
wait(timeout, callback);
|
|
85
|
-
defer(callback);
|
|
86
|
-
|
|
87
|
-
// Tags.
|
|
88
|
-
a(content?: DotContent): IDotA;
|
|
89
|
-
|
|
90
|
-
aside(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
91
|
-
abbr(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
92
|
-
address(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
93
|
-
|
|
94
|
-
area(content?: DotContent): IDotArea;
|
|
95
|
-
|
|
96
|
-
article(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
97
|
-
|
|
98
|
-
audio(content?: DotContent): IDotAudio;
|
|
99
|
-
|
|
100
|
-
b(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
101
|
-
bdi(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
102
|
-
bdo(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
103
|
-
|
|
104
|
-
blockQuote(content?: DotContent): IDotBlockQuote;
|
|
105
|
-
body(content?: DotContent): IDotBody; // This shouldn't really be used - if it is, then it should have the custom behavior of rewriting the existing document body, rather than adding a second one.
|
|
106
|
-
br(content?: DotContent): IDotBr;
|
|
107
|
-
button(content?: DotContent): IDotButton;
|
|
108
|
-
canvas(content?: DotContent): IDotCanvas;
|
|
109
|
-
|
|
110
|
-
caption(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
111
|
-
cite(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
112
|
-
code(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
113
|
-
|
|
114
|
-
col(content?: DotContent): IDotCol;
|
|
115
|
-
colGroup(content?: DotContent): IDotColGroup;
|
|
116
|
-
|
|
117
|
-
content(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
118
|
-
data(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
119
|
-
dataList(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
120
|
-
dd(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
121
|
-
|
|
122
|
-
del(content?: DotContent): IDotDel;
|
|
123
|
-
details(content?: DotContent): IDotDetails;
|
|
124
|
-
|
|
125
|
-
dfn(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
126
|
-
dialog(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
127
|
-
div(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
128
|
-
dl(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
129
|
-
dt(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
130
|
-
em(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
131
|
-
|
|
132
|
-
embed(content?: DotContent): IDotEmbed;
|
|
133
|
-
fieldSet(content?: DotContent): IDotFieldSet;
|
|
134
|
-
|
|
135
|
-
figCaption(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
136
|
-
figure(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
137
|
-
footer(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
138
|
-
|
|
139
|
-
form(content?: DotContent): IDotForm;
|
|
140
|
-
|
|
141
|
-
h1(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
142
|
-
h2(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
143
|
-
h3(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
144
|
-
h4(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
145
|
-
h5(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
146
|
-
h6(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
147
|
-
header(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
148
|
-
|
|
149
|
-
hr(content?: DotContent): IDotHr;
|
|
150
|
-
|
|
151
|
-
i(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
152
|
-
|
|
153
|
-
iFrame(content?: DotContent): IDotIFrame;
|
|
154
|
-
img(content?: DotContent): IDotImg;
|
|
155
|
-
input(content?: DotContent): IDotInput;
|
|
156
|
-
ins(content?: DotContent): IDotIns;
|
|
157
|
-
|
|
158
|
-
kbd(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
159
|
-
|
|
160
|
-
keyGen(content?: DotContent): IDotKeyGen;
|
|
161
|
-
label(content?: DotContent): IDotLabel;
|
|
162
|
-
|
|
163
|
-
legend(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
164
|
-
|
|
165
|
-
li(content?: DotContent): IDotLi;
|
|
166
|
-
|
|
167
|
-
main(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
168
|
-
|
|
169
|
-
map(content?: DotContent): IDotMap;
|
|
170
|
-
|
|
171
|
-
mark(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
172
|
-
|
|
173
|
-
menu(content?: DotContent): IDotMenu;
|
|
174
|
-
meter(content?: DotContent): IDotMeter;
|
|
175
|
-
|
|
176
|
-
nav(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
177
|
-
|
|
178
|
-
object(content?: DotContent): IDotObject;
|
|
179
|
-
ol(content?: DotContent): IDotOl;
|
|
180
|
-
optGroup(content?: DotContent): IDotOptGroup;
|
|
181
|
-
option(content?: DotContent): IDotOption;
|
|
182
|
-
output(content?: DotContent): IDotOutput;
|
|
183
|
-
|
|
184
|
-
p(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
185
|
-
|
|
186
|
-
param(content?: DotContent): IDotParam;
|
|
187
|
-
|
|
188
|
-
pre(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
189
|
-
|
|
190
|
-
progress(content?: DotContent): IDotProgress;
|
|
191
|
-
q(content?: DotContent): IDotQ;
|
|
192
|
-
|
|
193
|
-
rp(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
194
|
-
rt(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
195
|
-
ruby(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
196
|
-
s(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
197
|
-
samp(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
198
|
-
section(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
199
|
-
|
|
200
|
-
select(content?: DotContent): IDotSelect;
|
|
201
|
-
|
|
202
|
-
small(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
203
|
-
|
|
204
|
-
source(content?: DotContent): IDotSource;
|
|
205
|
-
|
|
206
|
-
span(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
207
|
-
strong(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
208
|
-
svg(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
209
|
-
sub(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
210
|
-
summary(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
211
|
-
sup(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
212
|
-
|
|
213
|
-
table(content?: DotContent): IDotTable;
|
|
214
|
-
tBody(content?: DotContent): IDotTBody;
|
|
215
|
-
td(content?: DotContent): IDotTd;
|
|
216
|
-
textArea(content?: DotContent): IDotTextArea;
|
|
217
|
-
tFoot(content?: DotContent): IDotTFoot;
|
|
218
|
-
th(content?: DotContent): IDotTh;
|
|
219
|
-
tHead(content?: DotContent): IDotTHead;
|
|
220
|
-
time(content?: DotContent): IDotTime;
|
|
221
|
-
tr(content?: DotContent): IDotTr;
|
|
222
|
-
track(content?: DotContent): IDotTrack;
|
|
223
|
-
|
|
224
|
-
u(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
225
|
-
ul(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
226
|
-
var(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
227
|
-
|
|
228
|
-
video(content?: DotContent): IDotVideo;
|
|
229
|
-
|
|
230
|
-
wbr(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// Interface for the dot object:
|
|
234
|
-
export interface IDotCore extends IDotDocument
|
|
235
|
-
{
|
|
236
|
-
(targetSelector: string|Element|Node|NodeList|Array<Node|Element>): IDotElementDocument<IDotGenericElement>;
|
|
237
|
-
|
|
238
|
-
version: string;
|
|
239
|
-
|
|
240
|
-
navigate(path: string, noHistory?: boolean, force?: boolean): void;
|
|
241
|
-
css: IDotCss;
|
|
242
|
-
bus: typeof EventBus;
|
|
243
|
-
resetScopeClass(): void;
|
|
244
|
-
// component(component: typeof Component): void;
|
|
245
|
-
// removeComponent = removeComponent;
|
|
246
|
-
|
|
247
|
-
Component: typeof Component
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Public interface indicating the return type of the Component builder method. Represents any VDBO containing an element.
|
|
252
|
-
* The VDBO returned by Component builder method must contain exactly one element.
|
|
253
|
-
*/
|
|
254
|
-
export interface IDotElement extends IDotElementDocument<IDotGenericElement>{}
|
|
255
|
-
|
|
256
|
-
// Attribute interface (for all elements):
|
|
257
|
-
export interface IDotElementDocument<T extends IDotDocument> extends IDotDocument
|
|
258
|
-
{
|
|
259
|
-
// (document?: Element, classPrefix?: number): IDotElement;
|
|
260
|
-
|
|
261
|
-
// TODO: this will erase element context, which could be a bug.
|
|
262
|
-
// It can be duplicated multiple times below, or find a new solution.
|
|
263
|
-
/**
|
|
264
|
-
* Create a custom attribute.
|
|
265
|
-
*/
|
|
266
|
-
attr(name: string, value: unknown, arg3?: unknown): T;
|
|
267
|
-
/**
|
|
268
|
-
* Adds a data-<suffix> attribute to the current element which can contain custom data.
|
|
269
|
-
*/
|
|
270
|
-
customData(suffix: string, value: DotContentPrimitive): T;
|
|
271
|
-
/**
|
|
272
|
-
* Create a named reference to the current element so that it can be accessed within the current component.
|
|
273
|
-
*/
|
|
274
|
-
ref(name: string, index?:number): T;
|
|
275
|
-
|
|
276
|
-
// TODO: move to specific elements.
|
|
277
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
278
|
-
bgColor(value: unknown): T;
|
|
279
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
280
|
-
color(value: unknown): T;
|
|
281
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
282
|
-
aLink(value: unknown): T;
|
|
283
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
284
|
-
archive(value: unknown): T;
|
|
285
|
-
// Only add this if we decide to add the search element.
|
|
286
|
-
// /** @deprecated Non-standard attribute. */
|
|
287
|
-
// autoSave(value: unknown): IDotMajor;
|
|
288
|
-
|
|
289
|
-
accessKey(value: unknown): T;
|
|
290
|
-
class(value: unknown): T;
|
|
291
|
-
contentEditable(value: unknown): T;
|
|
292
|
-
dir(value: unknown): T;
|
|
293
|
-
draggable(value: unknown): T;
|
|
294
|
-
dropZone(value: "move"|"copy"|"link"): T; // Might not be supported anywhere.
|
|
295
|
-
hidden(value: unknown): T;
|
|
296
|
-
id(value: unknown): T;
|
|
297
|
-
itemProp(value: unknown): T;
|
|
298
|
-
lang(value: unknown): T;
|
|
299
|
-
spellCheck(value: unknown): T;
|
|
300
|
-
style(value: string|IDotcssProp): T;
|
|
301
|
-
tabIndex(value: unknown): T;
|
|
302
|
-
title(value: unknown): T;
|
|
303
|
-
|
|
304
|
-
// Events
|
|
305
|
-
|
|
306
|
-
onContextMenu(callback: (e: Event)=>void): T; // global
|
|
307
|
-
onCopy(callback: (e: Event)=>void): T; // global
|
|
308
|
-
onCut(callback: (e: Event)=>void): T; // global
|
|
309
|
-
onPagePaste(callback: (e: Event)=>void): T; // global
|
|
310
|
-
|
|
311
|
-
// TODO: Really really add:
|
|
312
|
-
onDrag(callback: (e: DragEvent)=>void): T; // global
|
|
313
|
-
onDragEnd(callback: (e: DragEvent)=>void): T; // global
|
|
314
|
-
onDragStart(callback: (e: DragEvent)=>void): T; // global
|
|
315
|
-
onDragEnter(callback: (e: DragEvent)=>void): T; // global
|
|
316
|
-
onDragOver(callback: (e: DragEvent)=>void): T; // global
|
|
317
|
-
onDragLeave(callback: (e: DragEvent)=>void): T; // global
|
|
318
|
-
onDrop(callback: (e: DragEvent)=>void): T; // global
|
|
319
|
-
onError(callback: (e: Event)=>void): T; // loading elements
|
|
320
|
-
onInvalid(callback: (e: DragEvent)=>void): T; // global
|
|
321
|
-
onMouseWheel(callback: (e: WheelEvent)=>void): T; // global
|
|
322
|
-
onWheel(callback: (e: WheelEvent)=>void): T; // global
|
|
323
|
-
|
|
324
|
-
// Configured.
|
|
325
|
-
onBlur(callback: (e: FocusEvent)=>void): T;
|
|
326
|
-
onChange(callback: (e: Event)=>void): T;
|
|
327
|
-
onClick(callback: (e: MouseEvent)=>void): T;
|
|
328
|
-
onDblClick(callback: (e: MouseEvent)=>void): T;
|
|
329
|
-
onFocus(callback: (e: FocusEvent)=>void): T;
|
|
330
|
-
onInput(callback: (e: InputEvent)=>void): T;
|
|
331
|
-
onKeyDown(callback: (e: KeyboardEvent)=>void): T;
|
|
332
|
-
onKeyPress(callback: (e: KeyboardEvent)=>void): T;
|
|
333
|
-
onKeyUp(callback: (e: KeyboardEvent)=>void): T;
|
|
334
|
-
onLoad(callback: (e: Event)=>void): T; // On specific resources only.
|
|
335
|
-
onMouseDown(callback: (e: MouseEvent)=>void): T;
|
|
336
|
-
onMouseEnter(callback: (e: MouseEvent)=>void): T;
|
|
337
|
-
onMouseMove(callback: (e: MouseEvent)=>void): T;
|
|
338
|
-
onMouseOut(callback: (e: MouseEvent)=>void): T;
|
|
339
|
-
onMouseOver(callback: (e: MouseEvent)=>void): T;
|
|
340
|
-
onMouseUp(callback: (e: MouseEvent)=>void): T;
|
|
341
|
-
onReset(callback: (e: Event)=>void): T;
|
|
342
|
-
onScroll(callback: (e: MouseEvent)=>void): T;
|
|
343
|
-
onSelect(callback: (e: Event)=>void): T;
|
|
344
|
-
onSubmit(callback: (e: SubmitEvent)=>void): T;
|
|
345
|
-
onUnload(callback: (e: Event)=>void): T;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
export interface IDotGenericElement extends IDotElementDocument<IDotGenericElement>{}
|
|
349
|
-
|
|
350
|
-
// Interface for specific elements:
|
|
351
|
-
export interface IDotA extends IDotElementDocument<IDotA>{
|
|
352
|
-
download(value: unknown): IDotA;
|
|
353
|
-
hRef(value: unknown): IDotA;
|
|
354
|
-
hRefLang(value: unknown): IDotA;
|
|
355
|
-
media(value: unknown): IDotA;
|
|
356
|
-
ping(value: unknown): IDotA;
|
|
357
|
-
rel(value: unknown): IDotA;
|
|
358
|
-
rev(value: unknown): IDotA;
|
|
359
|
-
target(value: unknown): IDotA;
|
|
360
|
-
type(value: unknown): IDotA;
|
|
361
|
-
}
|
|
362
|
-
export interface IDotArea extends IDotElementDocument<IDotArea>{
|
|
363
|
-
alt(value: unknown): IDotArea;
|
|
364
|
-
coords(value: unknown): IDotArea;
|
|
365
|
-
download(value: unknown): IDotArea;
|
|
366
|
-
hRef(value: unknown): IDotArea;
|
|
367
|
-
hRefLang(value: unknown): IDotArea;
|
|
368
|
-
media(value: unknown): IDotArea;
|
|
369
|
-
noHRef(value: unknown): IDotArea;
|
|
370
|
-
rel(value: unknown): IDotArea;
|
|
371
|
-
shape(value: unknown): IDotArea;
|
|
372
|
-
target(value: unknown): IDotArea;
|
|
373
|
-
}
|
|
374
|
-
export interface IDotAudio extends IDotElementDocument<IDotAudio>{
|
|
375
|
-
autoPlay(value: unknown): IDotAudio;
|
|
376
|
-
buffered(value: unknown): IDotAudio;
|
|
377
|
-
controls(value: unknown): IDotAudio;
|
|
378
|
-
loop(value: unknown): IDotAudio;
|
|
379
|
-
muted(value: unknown): IDotAudio;
|
|
380
|
-
preload(value: unknown): IDotAudio;
|
|
381
|
-
src(value: unknown): IDotAudio;
|
|
382
|
-
|
|
383
|
-
// Special functions:
|
|
384
|
-
pause(): IDotAudio;
|
|
385
|
-
play(): IDotAudio;
|
|
386
|
-
stop(): IDotAudio;
|
|
387
|
-
|
|
388
|
-
// Events:
|
|
389
|
-
onAbort(callback: (e: Event)=>void): IDotAudio;
|
|
390
|
-
onCantPlayThrough(callback: (e: Event)=>void): IDotAudio;
|
|
391
|
-
onDurationChange(callback: (e: Event)=>void): IDotAudio;
|
|
392
|
-
onEmptied(callback: (e: Event)=>void): IDotAudio;
|
|
393
|
-
onEnded(callback: (e: Event)=>void): IDotAudio;
|
|
394
|
-
onLoadedData(callback: (e: Event)=>void): IDotAudio;
|
|
395
|
-
onLoadStart(callback: (e: Event)=>void): IDotAudio;
|
|
396
|
-
onLoadedMetadata(callback: (e: Event)=>void): IDotAudio;
|
|
397
|
-
onPause(callback: (e: Event)=>void): IDotAudio;
|
|
398
|
-
onPlay(callback: (e: Event)=>void): IDotAudio;
|
|
399
|
-
onPlaying(callback: (e: Event)=>void): IDotAudio;
|
|
400
|
-
onProgress(callback: (e: Event)=>void): IDotAudio;
|
|
401
|
-
onRateChange(callback: (e: Event)=>void): IDotAudio;
|
|
402
|
-
onSeeked(callback: (e: Event)=>void): IDotAudio;
|
|
403
|
-
onSeeking(callback: (e: Event)=>void): IDotAudio;
|
|
404
|
-
onStalled(callback: (e: Event)=>void): IDotAudio;
|
|
405
|
-
onSuspend(callback: (e: Event)=>void): IDotAudio;
|
|
406
|
-
onTimeUpdate(callback: (e: Event)=>void): IDotAudio;
|
|
407
|
-
onVolumeChange(callback: (e: Event)=>void): IDotAudio;
|
|
408
|
-
onWaiting(callback: (e: Event)=>void): IDotAudio;
|
|
409
|
-
onCanPlay(callback: (e: Event)=>void): IDotAudio;
|
|
410
|
-
}
|
|
411
|
-
export interface IDotBlockQuote extends IDotElementDocument<IDotBlockQuote>{
|
|
412
|
-
quoteCite(value: unknown): IDotBlockQuote; // cite
|
|
413
|
-
}
|
|
414
|
-
export interface IDotBody extends IDotElementDocument<IDotBody>{
|
|
415
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
416
|
-
align(value: unknown): IDotBody;
|
|
417
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
418
|
-
background(value: unknown): IDotBody;
|
|
419
|
-
|
|
420
|
-
// Events
|
|
421
|
-
onHashChange(callback: (e: Event)=>void): IDotBody;
|
|
422
|
-
onOffline(callback: (e: Event)=>void): IDotBody;
|
|
423
|
-
onOnline(callback: (e: Event)=>void): IDotBody;
|
|
424
|
-
onPageHide(callback: (e: Event)=>void): IDotBody;
|
|
425
|
-
onPageShow(callback: (e: Event)=>void): IDotBody;
|
|
426
|
-
onPopState(callback: (e: Event)=>void): IDotBody;
|
|
427
|
-
onResize(callback: (e: Event)=>void): IDotBody;
|
|
428
|
-
onStorage(callback: (e: Event)=>void): IDotBody;
|
|
429
|
-
}
|
|
430
|
-
export interface IDotBr extends IDotElementDocument<IDotBr>{
|
|
431
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
432
|
-
clear(value: unknown): IDotBr;
|
|
433
|
-
}
|
|
434
|
-
export interface IDotButton extends IDotElementDocument<IDotButton>{
|
|
435
|
-
autoFocus(value: unknown): IDotButton;
|
|
436
|
-
formAction(value: unknown): IDotButton;
|
|
437
|
-
disabled(value?: unknown): IDotButton;
|
|
438
|
-
name(value: unknown): IDotButton;
|
|
439
|
-
type(value: unknown): IDotButton;
|
|
440
|
-
whichForm(value: unknown): IDotButton; // form
|
|
441
|
-
value(value: unknown): IDotButton;
|
|
442
|
-
}
|
|
443
|
-
export interface IDotCanvas extends IDotElementDocument<IDotCanvas>{
|
|
444
|
-
height(value: unknown): IDotCanvas;
|
|
445
|
-
width(value: unknown): IDotCanvas;
|
|
446
|
-
}
|
|
447
|
-
export interface IDotCol extends IDotElementDocument<IDotCol>{
|
|
448
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
449
|
-
charOff(value: unknown): IDotCol;
|
|
450
|
-
colSpan(value: unknown): IDotCol; // span
|
|
451
|
-
vAlign(value: unknown): IDotCol;
|
|
452
|
-
}
|
|
453
|
-
export interface IDotColGroup extends IDotElementDocument<IDotColGroup>{
|
|
454
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
455
|
-
charOff(value: unknown): IDotColGroup;
|
|
456
|
-
colSpan(value: unknown): IDotColGroup; // span
|
|
457
|
-
vAlign(value: unknown): IDotColGroup;
|
|
458
|
-
}
|
|
459
|
-
export interface IDotDel extends IDotElementDocument<IDotDel>{
|
|
460
|
-
dateTime(value: unknown): IDotDel;
|
|
461
|
-
quoteCite(value: unknown): IDotDel; // cite
|
|
462
|
-
}
|
|
463
|
-
export interface IDotDetails extends IDotElementDocument<IDotDetails>{
|
|
464
|
-
open(value: unknown): IDotDetails;
|
|
465
|
-
|
|
466
|
-
// Events:
|
|
467
|
-
onToggle (callback: (e: Event)=>void): IDotDetails;
|
|
468
|
-
}
|
|
469
|
-
export interface IDotEmbed extends IDotElementDocument<IDotEmbed>{
|
|
470
|
-
height(value: unknown): IDotEmbed;
|
|
471
|
-
src(value: unknown): IDotEmbed;
|
|
472
|
-
type(value: unknown): IDotEmbed;
|
|
473
|
-
width(value: unknown): IDotEmbed;
|
|
474
|
-
}
|
|
475
|
-
export interface IDotFieldSet extends IDotElementDocument<IDotFieldSet>{
|
|
476
|
-
disabled(value: unknown): IDotFieldSet;
|
|
477
|
-
name(value: unknown): IDotFieldSet;
|
|
478
|
-
whichForm(value: unknown): IDotFieldSet; // form
|
|
479
|
-
}
|
|
480
|
-
export interface IDotForm extends IDotElementDocument<IDotForm>{
|
|
481
|
-
acceptCharset(value: unknown): IDotForm; // accept-charset
|
|
482
|
-
action(value: unknown): IDotForm;
|
|
483
|
-
autoComplete(value: unknown): IDotForm;
|
|
484
|
-
encType(value: unknown): IDotForm;
|
|
485
|
-
method(value: unknown): IDotForm;
|
|
486
|
-
name(value: unknown): IDotForm;
|
|
487
|
-
noValidate(value: boolean): IDotForm;
|
|
488
|
-
rel(value: unknown): IDotForm;
|
|
489
|
-
target(value: unknown): IDotForm;
|
|
490
|
-
}
|
|
491
|
-
export interface IDotHr extends IDotElementDocument<IDotHr>{
|
|
492
|
-
noShade(value: unknown): IDotHr;
|
|
493
|
-
}
|
|
494
|
-
export interface IDotIFrame extends IDotElementDocument<IDotIFrame>{
|
|
495
|
-
height(value: unknown): IDotIFrame;
|
|
496
|
-
longDesc(value: unknown): IDotIFrame;
|
|
497
|
-
marginHeight(value: unknown): IDotIFrame;
|
|
498
|
-
marginWidth(value: unknown): IDotIFrame;
|
|
499
|
-
name(value: unknown): IDotIFrame;
|
|
500
|
-
sandbox(value: unknown): IDotIFrame;
|
|
501
|
-
scrolling(value: unknown): IDotIFrame;
|
|
502
|
-
seamless(value: unknown): IDotIFrame;
|
|
503
|
-
src(value: unknown): IDotIFrame;
|
|
504
|
-
srcDoc(value: unknown): IDotIFrame;
|
|
505
|
-
width(value: unknown): IDotIFrame;
|
|
506
|
-
}
|
|
507
|
-
export interface IDotImg extends IDotElementDocument<IDotImg>{
|
|
508
|
-
alt(value: unknown): IDotImg;
|
|
509
|
-
height(value: unknown): IDotImg;
|
|
510
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
511
|
-
hSpace(value: unknown): IDotImg;
|
|
512
|
-
isMap(value: unknown): IDotImg;
|
|
513
|
-
longDesc(value: unknown): IDotImg;
|
|
514
|
-
sizes(value: unknown): IDotImg;
|
|
515
|
-
src(value: unknown): IDotImg;
|
|
516
|
-
srcSet(value: unknown): IDotImg;
|
|
517
|
-
useMap(value: unknown): IDotImg;
|
|
518
|
-
width(value: unknown): IDotImg;
|
|
519
|
-
}
|
|
520
|
-
export interface IDotInput extends IDotElementDocument<IDotInput>{
|
|
521
|
-
accept(value: unknown): IDotInput;
|
|
522
|
-
alt(value: unknown): IDotInput;
|
|
523
|
-
autoComplete(value: unknown): IDotInput;
|
|
524
|
-
autoFocus(value: unknown): IDotInput;
|
|
525
|
-
checked(value?: boolean): IDotInput;
|
|
526
|
-
dirName(value: unknown): IDotInput;
|
|
527
|
-
disabled(value: unknown): IDotInput;
|
|
528
|
-
formAction(value: unknown): IDotInput;
|
|
529
|
-
list(value: unknown): IDotInput;
|
|
530
|
-
max(value: unknown): IDotInput;
|
|
531
|
-
maxLength(value: unknown): IDotInput;
|
|
532
|
-
min(value: unknown): IDotInput;
|
|
533
|
-
multiple(value: unknown): IDotInput;
|
|
534
|
-
name(value: unknown): IDotInput;
|
|
535
|
-
pattern(value: unknown): IDotInput;
|
|
536
|
-
placeholder(value: unknown): IDotInput;
|
|
537
|
-
readOnly(value: unknown): IDotInput;
|
|
538
|
-
required(value: unknown): IDotInput;
|
|
539
|
-
size(value: unknown): IDotInput;
|
|
540
|
-
src(value: unknown): IDotInput;
|
|
541
|
-
step(value: unknown): IDotInput;
|
|
542
|
-
type(value: unknown): IDotInput;
|
|
543
|
-
whichForm(value: unknown): IDotInput; // form
|
|
544
|
-
value(value: unknown): IDotInput;
|
|
545
|
-
width(value: unknown): IDotInput;
|
|
546
|
-
|
|
547
|
-
// Special functions:
|
|
548
|
-
bindTo(value: unknown): IDotInput;
|
|
549
|
-
getVal(): string
|
|
550
|
-
setVal(value: unknown): IDotInput;
|
|
551
|
-
|
|
552
|
-
// Input-specific events:
|
|
553
|
-
onSearch(callback: (e: Event)=>void): IDotInput;
|
|
554
|
-
}
|
|
555
|
-
export interface IDotIns extends IDotElementDocument<IDotIns>{
|
|
556
|
-
dateTime(value: unknown): IDotIns;
|
|
557
|
-
quoteCite(value: unknown): IDotIns; // cite
|
|
558
|
-
}
|
|
559
|
-
export interface IDotKeyGen extends IDotElementDocument<IDotKeyGen>{
|
|
560
|
-
challenge(value: unknown): IDotKeyGen;
|
|
561
|
-
keyType(value: unknown): IDotKeyGen;
|
|
562
|
-
}
|
|
563
|
-
export interface IDotLabel extends IDotElementDocument<IDotLabel>{
|
|
564
|
-
for(value: unknown): IDotLabel;
|
|
565
|
-
whichForm(value: unknown): IDotLabel; // form
|
|
566
|
-
}
|
|
567
|
-
export interface IDotLi extends IDotElementDocument<IDotLi>{
|
|
568
|
-
value(value: unknown): IDotLi;
|
|
569
|
-
}
|
|
570
|
-
export interface IDotMap extends IDotElementDocument<IDotMap>{
|
|
571
|
-
name(value: unknown): IDotMap;
|
|
572
|
-
}
|
|
573
|
-
export interface IDotMenu extends IDotElementDocument<IDotMenu>{
|
|
574
|
-
type(value: unknown): IDotMenu;
|
|
575
|
-
}
|
|
576
|
-
export interface IDotMeter extends IDotElementDocument<IDotMeter>{
|
|
577
|
-
high(value: unknown): IDotMeter;
|
|
578
|
-
low(value: unknown): IDotMeter;
|
|
579
|
-
max(value: unknown): IDotMeter;
|
|
580
|
-
min(value: unknown): IDotMeter;
|
|
581
|
-
optimum(value: unknown): IDotMeter;
|
|
582
|
-
whichForm(value: unknown): IDotMeter; // form
|
|
583
|
-
value(value: unknown): IDotMeter;
|
|
584
|
-
}
|
|
585
|
-
export interface IDotObject extends IDotElementDocument<IDotObject>{
|
|
586
|
-
classId(value: unknown): IDotObject;
|
|
587
|
-
codeBase(value: unknown): IDotObject;
|
|
588
|
-
codeType(value: unknown): IDotObject;
|
|
589
|
-
objectData(value: unknown): IDotObject; // data
|
|
590
|
-
declare(value: unknown): IDotObject;
|
|
591
|
-
height(value: unknown): IDotObject;
|
|
592
|
-
name(value: unknown): IDotObject;
|
|
593
|
-
standby(value: unknown): IDotObject;
|
|
594
|
-
type(value: unknown): IDotObject;
|
|
595
|
-
useMap(value: unknown): IDotObject;
|
|
596
|
-
whichForm(value: unknown): IDotObject; // form
|
|
597
|
-
width(value: unknown): IDotObject;
|
|
598
|
-
}
|
|
599
|
-
export interface IDotOl extends IDotElementDocument<IDotOl>{
|
|
600
|
-
reversed(value: unknown): IDotOl;
|
|
601
|
-
start(value: unknown): IDotOl;
|
|
602
|
-
}
|
|
603
|
-
export interface IDotOptGroup extends IDotElementDocument<IDotOptGroup>{
|
|
604
|
-
disabled(value: unknown): IDotOptGroup;
|
|
605
|
-
}
|
|
606
|
-
export interface IDotOption extends IDotElementDocument<IDotOption>{
|
|
607
|
-
disabled(value: unknown): IDotOption;
|
|
608
|
-
optionLabel(value: unknown): IDotOption; // label
|
|
609
|
-
selected(value?: boolean): IDotOption;
|
|
610
|
-
value(value: unknown): IDotOption;
|
|
611
|
-
|
|
612
|
-
// Special functions:
|
|
613
|
-
bindTo(value: unknown): IDotOption;
|
|
614
|
-
getVal(): string;
|
|
615
|
-
setVal(value: unknown): IDotOption;
|
|
616
|
-
}
|
|
617
|
-
export interface IDotOutput extends IDotElementDocument<IDotOutput>{
|
|
618
|
-
for(value: unknown): IDotOutput;
|
|
619
|
-
name(value: unknown): IDotOutput;
|
|
620
|
-
whichForm(value: unknown): IDotOutput; // form
|
|
621
|
-
}
|
|
622
|
-
export interface IDotParam extends IDotElementDocument<IDotParam>{
|
|
623
|
-
name(value: unknown): IDotParam;
|
|
624
|
-
value(value: unknown): IDotParam;
|
|
625
|
-
valueType(value: unknown): IDotParam;
|
|
626
|
-
}
|
|
627
|
-
export interface IDotProgress extends IDotElementDocument<IDotProgress>{
|
|
628
|
-
max(value: unknown): IDotProgress;
|
|
629
|
-
value(value: unknown): IDotProgress;
|
|
630
|
-
}
|
|
631
|
-
export interface IDotQ extends IDotElementDocument<IDotQ>{
|
|
632
|
-
quoteCite(value: unknown): IDotQ; // cite
|
|
633
|
-
}
|
|
634
|
-
export interface IDotSelect extends IDotElementDocument<IDotSelect>{
|
|
635
|
-
autoFocus(value: unknown): IDotSelect;
|
|
636
|
-
disabled(value: unknown): IDotSelect;
|
|
637
|
-
multiple(value: unknown): IDotSelect;
|
|
638
|
-
name(value: unknown): IDotSelect;
|
|
639
|
-
required(value: unknown): IDotSelect;
|
|
640
|
-
size(value: unknown): IDotSelect;
|
|
641
|
-
whichForm(value: unknown): IDotSelect; // form
|
|
642
|
-
|
|
643
|
-
// Special functions:
|
|
644
|
-
bindTo(value: unknown): IDotSelect;
|
|
645
|
-
getVal(): string;
|
|
646
|
-
setVal(value: unknown): IDotSelect;
|
|
647
|
-
}
|
|
648
|
-
export interface IDotSource extends IDotElementDocument<IDotSource>{
|
|
649
|
-
media(value: unknown): IDotSource;
|
|
650
|
-
src(value: unknown): IDotSource;
|
|
651
|
-
type(value: unknown): IDotSource;
|
|
652
|
-
sizes(value: unknown): IDotSource;
|
|
653
|
-
src(value: unknown): IDotSource;
|
|
654
|
-
srcSet(value: unknown): IDotSource;
|
|
655
|
-
type(value: unknown): IDotSource;
|
|
656
|
-
}
|
|
657
|
-
export interface IDotTable extends IDotElementDocument<IDotTable>{
|
|
658
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
659
|
-
border(value: unknown): IDotTable;
|
|
660
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
661
|
-
cellPadding(value: unknown): IDotTable;
|
|
662
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
663
|
-
cellSpacing(value: unknown): IDotTable;
|
|
664
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
665
|
-
frame(value: unknown): IDotTable;
|
|
666
|
-
rules(value: unknown): IDotTable;
|
|
667
|
-
tableSummary(value: unknown): IDotTable; // summary
|
|
668
|
-
}
|
|
669
|
-
export interface IDotTextArea extends IDotElementDocument<IDotTextArea>{
|
|
670
|
-
autoFocus(value: unknown): IDotTextArea;
|
|
671
|
-
cols(value: unknown): IDotTextArea;
|
|
672
|
-
dirName(value: unknown): IDotTextArea;
|
|
673
|
-
disabled(value: unknown): IDotTextArea;
|
|
674
|
-
maxLength(value: unknown): IDotTextArea;
|
|
675
|
-
name(value: unknown): IDotTextArea;
|
|
676
|
-
placeholder(value: unknown): IDotTextArea;
|
|
677
|
-
readOnly(value: unknown): IDotTextArea;
|
|
678
|
-
required(value: unknown): IDotTextArea;
|
|
679
|
-
rows(value: unknown): IDotTextArea;
|
|
680
|
-
whichForm(value: unknown): IDotTextArea; // form
|
|
681
|
-
wrap(value: unknown): IDotTextArea;
|
|
682
|
-
|
|
683
|
-
// Special functions:
|
|
684
|
-
bindTo(value: unknown): IDotTextArea;
|
|
685
|
-
getVal(): string;
|
|
686
|
-
setVal(value: unknown): IDotTextArea;
|
|
687
|
-
}
|
|
688
|
-
export interface IDotTBody extends IDotElementDocument<IDotTBody>{
|
|
689
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
690
|
-
charOff(value: unknown): IDotTBody;
|
|
691
|
-
vAlign(value: unknown): IDotTBody;
|
|
692
|
-
}
|
|
693
|
-
export interface IDotTd extends IDotElementDocument<IDotTd>{
|
|
694
|
-
|
|
695
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
696
|
-
axis(value: unknown): IDotTd;
|
|
697
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
698
|
-
char(value: unknown): IDotTd;
|
|
699
|
-
colSpan(value: unknown): IDotTd;
|
|
700
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
701
|
-
charOff(value: unknown): IDotTd;
|
|
702
|
-
headers(value: unknown): IDotTd;
|
|
703
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
704
|
-
nowrap(value: unknown): IDotTd;
|
|
705
|
-
rowSpan(value: unknown): IDotTd;
|
|
706
|
-
vAlign(value: unknown): IDotTd;
|
|
707
|
-
|
|
708
|
-
}
|
|
709
|
-
export interface IDotTFoot extends IDotElementDocument<IDotTFoot>{
|
|
710
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
711
|
-
charOff(value: unknown): IDotTFoot;
|
|
712
|
-
vAlign(value: unknown): IDotTFoot;
|
|
713
|
-
}
|
|
714
|
-
export interface IDotTime extends IDotElementDocument<IDotTime>{
|
|
715
|
-
dateTime(value: unknown): IDotTime;
|
|
716
|
-
}
|
|
717
|
-
export interface IDotTh extends IDotElementDocument<IDotTh>{
|
|
718
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
719
|
-
axis(value: unknown): IDotTh;
|
|
720
|
-
colSpan(value: unknown): IDotTh;
|
|
721
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
722
|
-
charOff(value: unknown): IDotTh;
|
|
723
|
-
headers(value: unknown): IDotTh;
|
|
724
|
-
rowSpan(value: unknown): IDotTh;
|
|
725
|
-
scope(value: unknown): IDotTh;
|
|
726
|
-
vAlign(value: unknown): IDotTh;
|
|
727
|
-
}
|
|
728
|
-
export interface IDotTHead extends IDotElementDocument<IDotTHead>{
|
|
729
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
730
|
-
charOff(value: unknown): IDotTHead;
|
|
731
|
-
vAlign(value: unknown): IDotTHead;
|
|
732
|
-
}
|
|
733
|
-
export interface IDotTr extends IDotElementDocument<IDotTr>{
|
|
734
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
735
|
-
charOff(value: unknown): IDotTr;
|
|
736
|
-
vAlign(value: unknown): IDotTr;
|
|
737
|
-
}
|
|
738
|
-
export interface IDotTrack extends IDotElementDocument<IDotTrack>{
|
|
739
|
-
default(value: unknown): IDotTrack;
|
|
740
|
-
kind(value: unknown): IDotTrack;
|
|
741
|
-
src(value: unknown): IDotTrack;
|
|
742
|
-
srcLang(value: unknown): IDotTrack;
|
|
743
|
-
trackLabel(value: unknown): IDotTrack; // label
|
|
744
|
-
|
|
745
|
-
// Events:
|
|
746
|
-
onCueChange(callback: (e: Event)=>void): IDotTrack;
|
|
747
|
-
}
|
|
748
|
-
export interface IDotVideo extends IDotElementDocument<IDotVideo>{
|
|
749
|
-
autoPlay(value: unknown): IDotVideo;
|
|
750
|
-
buffered(value: unknown): IDotVideo;
|
|
751
|
-
controls(value: unknown): IDotVideo;
|
|
752
|
-
height(value: unknown): IDotVideo;
|
|
753
|
-
loop(value: unknown): IDotVideo;
|
|
754
|
-
muted(value: unknown): IDotVideo;
|
|
755
|
-
poster(value: unknown): IDotVideo;
|
|
756
|
-
preload(value: unknown): IDotVideo;
|
|
757
|
-
src(value: unknown): IDotVideo;
|
|
758
|
-
width(value: unknown): IDotVideo;
|
|
759
|
-
|
|
760
|
-
// Special functions:
|
|
761
|
-
pause(): IDotVideo;
|
|
762
|
-
play(): IDotVideo;
|
|
763
|
-
stop(): IDotVideo;
|
|
764
|
-
|
|
765
|
-
// Events:
|
|
766
|
-
onAbort(callback: (e: Event)=>void): IDotVideo;
|
|
767
|
-
onCantPlayThrough(callback: (e: Event)=>void): IDotVideo;
|
|
768
|
-
onDurationChange(callback: (e: Event)=>void): IDotVideo;
|
|
769
|
-
onEmptied(callback: (e: Event)=>void): IDotVideo;
|
|
770
|
-
onEnded(callback: (e: Event)=>void): IDotVideo;
|
|
771
|
-
onLoadedData(callback: (e: Event)=>void): IDotVideo;
|
|
772
|
-
onLoadStart(callback: (e: Event)=>void): IDotVideo;
|
|
773
|
-
onLoadedMetadata(callback: (e: Event)=>void): IDotVideo;
|
|
774
|
-
onPause(callback: (e: Event)=>void): IDotVideo;
|
|
775
|
-
onPlay(callback: (e: Event)=>void): IDotVideo;
|
|
776
|
-
onPlaying(callback: (e: Event)=>void): IDotVideo;
|
|
777
|
-
onProgress(callback: (e: Event)=>void): IDotVideo;
|
|
778
|
-
onRateChange(callback: (e: Event)=>void): IDotVideo;
|
|
779
|
-
onSeeked(callback: (e: Event)=>void): IDotVideo;
|
|
780
|
-
onSeeking(callback: (e: Event)=>void): IDotVideo;
|
|
781
|
-
onStalled(callback: (e: Event)=>void): IDotVideo;
|
|
782
|
-
onSuspend(callback: (e: Event)=>void): IDotVideo;
|
|
783
|
-
onTimeUpdate(callback: (e: Event)=>void): IDotVideo;
|
|
784
|
-
onVolumeChange(callback: (e: Event)=>void): IDotVideo;
|
|
785
|
-
onWaiting(callback: (e: Event)=>void): IDotVideo;
|
|
786
|
-
onCanPlay(callback: (e: Event)=>void): IDotVideo;
|
|
787
|
-
}
|