dothtml-interfaces 0.1.46 → 0.2.0
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/package.json +1 -1
- package/src/i-component.d.ts +4 -2
- package/src/i-dot-css.d.ts +1067 -1059
- package/src/i-dot.d.ts +798 -784
package/src/i-dot.d.ts
CHANGED
|
@@ -4,19 +4,18 @@ import IDotCss, { IDotcssProp } from "./i-dot-css";
|
|
|
4
4
|
import IEventBus from "./i-event-bus";
|
|
5
5
|
import IReactive from "./i-reactive";
|
|
6
6
|
|
|
7
|
-
type DotContentPrimitive = string|number|boolean;
|
|
8
|
-
type DotContentBasic = DotContentPrimitive|Node|Element|NodeList|IComponent|IDotDocument//typeof DotDocument;
|
|
9
|
-
export type DotContent = DotContentBasic|Array<DotContent
|
|
7
|
+
type DotContentPrimitive = string | number | boolean;
|
|
8
|
+
type DotContentBasic = DotContentPrimitive | Node | Element | NodeList | IComponent | IDotDocument//typeof DotDocument;
|
|
9
|
+
export type DotContent = DotContentBasic | Array<DotContent> | IReactive;//|(()=>DotContent);
|
|
10
10
|
|
|
11
|
-
type AttrVal<T = string|number|boolean> = T|IReactive<T>;
|
|
11
|
+
type AttrVal<T = string | number | boolean> = T | IReactive<T>;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Global interface containing elements.
|
|
15
15
|
*/
|
|
16
|
-
export interface IDotDocument
|
|
17
|
-
{
|
|
16
|
+
export interface IDotDocument {
|
|
18
17
|
// Creating a blank DotDocument.
|
|
19
|
-
(document?: Element, classPrefix?: number, targetWindow?: Window&(typeof globalThis)): void;
|
|
18
|
+
(document?: Element, classPrefix?: number, targetWindow?: Window & (typeof globalThis)): void;
|
|
20
19
|
|
|
21
20
|
// Internal use only:
|
|
22
21
|
// Removed in v6.
|
|
@@ -25,7 +24,7 @@ export interface IDotDocument
|
|
|
25
24
|
/**
|
|
26
25
|
* 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.
|
|
27
26
|
*/
|
|
28
|
-
when(condition:IReactive|boolean, DotContent): IDotConditionalDocument;
|
|
27
|
+
when(condition: IReactive | boolean, DotContent): IDotConditionalDocument;
|
|
29
28
|
|
|
30
29
|
// Main functions.
|
|
31
30
|
// TODO: please make this into a test case.
|
|
@@ -36,7 +35,7 @@ export interface IDotDocument
|
|
|
36
35
|
* @example
|
|
37
36
|
* dot.h("<a>Click me!</a>").as(dot.a).hRef("https://dothtml.com/")
|
|
38
37
|
*/
|
|
39
|
-
as<T extends IDotDocument>(dotElement: (...props: any[])=>T): T;
|
|
38
|
+
as<T extends IDotDocument>(dotElement: (...props: any[]) => T): T;
|
|
40
39
|
/**
|
|
41
40
|
* Creates a custom element.
|
|
42
41
|
*/
|
|
@@ -46,26 +45,26 @@ export interface IDotDocument
|
|
|
46
45
|
/**
|
|
47
46
|
* Creates a generic HTML node that can render a string, HTML nodes, or dotHTML content.
|
|
48
47
|
*/
|
|
49
|
-
html(content: string|number|boolean|IReactive): IDotDocument;
|
|
48
|
+
html(content: string | number | boolean | IReactive): IDotDocument;
|
|
50
49
|
/**
|
|
51
50
|
* Creates a text node that will render as a string, rather than being parsed as markup.
|
|
52
51
|
*/
|
|
53
|
-
text(content: string|number|boolean|IReactive): IDotDocument;
|
|
52
|
+
text(content: string | number | boolean | IReactive): IDotDocument;
|
|
54
53
|
/**
|
|
55
54
|
* Mounts a component.
|
|
56
55
|
* TODO: add second arg.
|
|
57
56
|
*/
|
|
58
|
-
mount<T extends IComponent>(component: T, init?: (e: IMountedComponent<T>)=>IMountedComponent<T
|
|
59
|
-
mount<T extends IComponent>(init: (c: IMountedComponent<T>)=>IMountedComponent<T
|
|
57
|
+
mount<T extends IComponent>(component: T, init?: (e: IMountedComponent<T>) => IMountedComponent<T> | void): IDotDocument;
|
|
58
|
+
mount<T extends IComponent>(init: (c: IMountedComponent<T>) => IMountedComponent<T> | void, component: T): IDotDocument;
|
|
60
59
|
// mount(component: IComponent, init: (init=>IMountedComponent): IMountedComponent|void): IDotDocument;
|
|
61
60
|
/**
|
|
62
61
|
* Iterates n times, appending the result of each iteration to the VDBO.
|
|
63
62
|
* @param n The number of iterations.
|
|
64
63
|
* @param callback The markup-generating callback.
|
|
65
64
|
*/
|
|
66
|
-
iterate(n: number, callback: (i: number)=>DotContent): IDotDocument;
|
|
67
|
-
each<T>(a: Array<T
|
|
68
|
-
each<T>(a: IReactive<any, Array<T
|
|
65
|
+
iterate(n: number, callback: (i: number) => DotContent): IDotDocument;
|
|
66
|
+
each<T>(a: Array<T> | { [key: string | number]: T }, callback: (x: T, i: number, k: string | number) => DotContent): IDotDocument;
|
|
67
|
+
each<T>(a: IReactive<any, Array<T> | { [key: string | number]: T }>, callback: (x: T, i: IReactive<number>, k: string | number) => DotContent): IDotDocument;
|
|
69
68
|
|
|
70
69
|
/**
|
|
71
70
|
* Removes the targeted document and everything in it.
|
|
@@ -84,262 +83,262 @@ export interface IDotDocument
|
|
|
84
83
|
// scopeClass(prefix: number|string|null, content: DotContent): IDotDocument;
|
|
85
84
|
|
|
86
85
|
// Tags.
|
|
87
|
-
a(content?: DotContent, attrs?: (attrs: IDotA)=>IDotA|void): IDotDocument;
|
|
88
|
-
a(attrs: (attrs: IDotA)=>IDotA|void, content?: DotContent): IDotDocument;
|
|
89
|
-
|
|
90
|
-
aside(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
91
|
-
aside(attrs: (e: IDotAttrBuilder
|
|
92
|
-
abbr(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
93
|
-
abbr(attrs: (e: IDotAttrBuilder
|
|
94
|
-
address(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
95
|
-
address(attrs: (e: IDotAttrBuilder
|
|
96
|
-
|
|
97
|
-
area(content?: DotContent, attrs?: (attrs: IDotArea)=>IDotArea|void): IDotDocument;
|
|
98
|
-
area(attrs: (attrs: IDotArea)=>IDotArea|void, content?: DotContent): IDotDocument;
|
|
99
|
-
|
|
100
|
-
article(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
101
|
-
article(attrs: (e: IDotAttrBuilder
|
|
102
|
-
|
|
103
|
-
audio(content?: DotContent, attrs?: (attrs: IDotAudio)=>IDotAudio|void): IDotDocument;
|
|
104
|
-
audio(attrs: (attrs: IDotAudio)=>IDotAudio|void, content?: DotContent): IDotDocument;
|
|
105
|
-
|
|
106
|
-
b(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
107
|
-
b(attrs: (e: IDotAttrBuilder
|
|
108
|
-
bdi(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
109
|
-
bdi(attrs: (e: IDotAttrBuilder
|
|
110
|
-
bdo(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
111
|
-
bdo(attrs: (e: IDotAttrBuilder
|
|
112
|
-
|
|
113
|
-
blockQuote(content?: DotContent, attrs?: (attrs: IDotBlockQuote)=>IDotBlockQuote|void): IDotDocument;
|
|
114
|
-
blockQuote(attrs: (attrs: IDotBlockQuote)=>IDotBlockQuote|void, content?: DotContent): IDotDocument;
|
|
115
|
-
|
|
86
|
+
a(content?: DotContent, attrs?: (attrs: IDotA) => IDotA | void): IDotDocument;
|
|
87
|
+
a(attrs: (attrs: IDotA) => IDotA | void, content?: DotContent): IDotDocument;
|
|
88
|
+
|
|
89
|
+
aside(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
90
|
+
aside(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
91
|
+
abbr(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
92
|
+
abbr(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
93
|
+
address(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
94
|
+
address(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
95
|
+
|
|
96
|
+
area(content?: DotContent, attrs?: (attrs: IDotArea) => IDotArea | void): IDotDocument;
|
|
97
|
+
area(attrs: (attrs: IDotArea) => IDotArea | void, content?: DotContent): IDotDocument;
|
|
98
|
+
|
|
99
|
+
article(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
100
|
+
article(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
101
|
+
|
|
102
|
+
audio(content?: DotContent, attrs?: (attrs: IDotAudio) => IDotAudio | void): IDotDocument;
|
|
103
|
+
audio(attrs: (attrs: IDotAudio) => IDotAudio | void, content?: DotContent): IDotDocument;
|
|
104
|
+
|
|
105
|
+
b(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
106
|
+
b(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
107
|
+
bdi(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
108
|
+
bdi(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
109
|
+
bdo(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
110
|
+
bdo(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
111
|
+
|
|
112
|
+
blockQuote(content?: DotContent, attrs?: (attrs: IDotBlockQuote) => IDotBlockQuote | void): IDotDocument;
|
|
113
|
+
blockQuote(attrs: (attrs: IDotBlockQuote) => IDotBlockQuote | void, content?: DotContent): IDotDocument;
|
|
114
|
+
|
|
116
115
|
// 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.
|
|
117
|
-
body(content?: DotContent, attrs?: (attrs: IDotBody)=>IDotBody|void): IDotDocument;
|
|
118
|
-
body(attrs: (attrs: IDotBody)=>IDotBody|void, content?: DotContent): IDotDocument;
|
|
119
|
-
|
|
120
|
-
br(content?: DotContent, attrs?: (attrs: IDotBr)=>IDotBr|void): IDotDocument;
|
|
121
|
-
br(attrs: (attrs: IDotBr)=>IDotBr|void, content?: DotContent): IDotDocument;
|
|
122
|
-
button(content?: DotContent, attrs?: (attrs: IDotButton)=>IDotButton|void): IDotDocument;
|
|
123
|
-
button(attrs: (attrs: IDotButton)=>IDotButton|void, content?: DotContent): IDotDocument;
|
|
124
|
-
canvas(content?: DotContent, attrs?: (attrs: IDotCanvas)=>IDotCanvas|void): IDotDocument;
|
|
125
|
-
canvas(attrs: (attrs: IDotCanvas)=>IDotCanvas|void, content?: DotContent): IDotDocument;
|
|
126
|
-
|
|
127
|
-
caption(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
128
|
-
caption(attrs: (e: IDotAttrBuilder
|
|
129
|
-
cite(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
130
|
-
cite(attrs: (e: IDotAttrBuilder
|
|
131
|
-
code(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
132
|
-
code(attrs: (e: IDotAttrBuilder
|
|
133
|
-
|
|
134
|
-
col(content?: DotContent, attrs?: (attrs: IDotCol)=>IDotCol|void): IDotDocument;
|
|
135
|
-
col(attrs: (attrs: IDotCol)=>IDotCol|void, content?: DotContent): IDotDocument;
|
|
136
|
-
colGroup(content?: DotContent, attrs?: (attrs: IDotColGroup)=>IDotColGroup|void): IDotDocument;
|
|
137
|
-
colGroup(attrs: (attrs: IDotColGroup)=>IDotColGroup|void, content?: DotContent): IDotDocument;
|
|
138
|
-
|
|
139
|
-
content(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
140
|
-
content(attrs: (e: IDotAttrBuilder
|
|
141
|
-
data(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
142
|
-
data(attrs: (e: IDotAttrBuilder
|
|
143
|
-
dataList(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
144
|
-
dataList(attrs: (e: IDotAttrBuilder
|
|
145
|
-
dd(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
146
|
-
dd(attrs: (e: IDotAttrBuilder
|
|
147
|
-
|
|
148
|
-
del(content?: DotContent, attrs?: (attrs: IDotDel)=>IDotDel|void): IDotDocument;
|
|
149
|
-
del(attrs: (attrs: IDotDel)=>IDotDel|void, content?: DotContent): IDotDocument;
|
|
150
|
-
details(content?: DotContent, attrs?: (attrs: IDotDetails)=>IDotDetails|void): IDotDocument;
|
|
151
|
-
details(attrs: (attrs: IDotDetails)=>IDotDetails|void, content?: DotContent): IDotDocument;
|
|
152
|
-
|
|
153
|
-
dfn(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
154
|
-
dfn(attrs: (e: IDotAttrBuilder
|
|
155
|
-
dialog(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
156
|
-
dialog(attrs: (e: IDotAttrBuilder
|
|
157
|
-
div(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
158
|
-
div(attrs: (e: IDotAttrBuilder
|
|
159
|
-
dl(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
160
|
-
dl(attrs: (e: IDotAttrBuilder
|
|
161
|
-
dt(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
162
|
-
dt(attrs: (e: IDotAttrBuilder
|
|
163
|
-
em(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
164
|
-
em(attrs: (e: IDotAttrBuilder
|
|
165
|
-
|
|
166
|
-
embed(content?: DotContent, attrs?: (attrs: IDotEmbed)=>IDotEmbed|void): IDotDocument;
|
|
167
|
-
embed(attrs: (attrs: IDotEmbed)=>IDotEmbed|void, content?: DotContent): IDotDocument;
|
|
168
|
-
fieldSet(content?: DotContent, attrs?: (attrs: IDotFieldSet)=>IDotFieldSet|void): IDotDocument;
|
|
169
|
-
fieldSet(attrs: (attrs: IDotFieldSet)=>IDotFieldSet|void, content?: DotContent): IDotDocument;
|
|
170
|
-
|
|
171
|
-
figCaption(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
172
|
-
figCaption(attrs: (e: IDotAttrBuilder
|
|
173
|
-
figure(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
174
|
-
figure(attrs: (e: IDotAttrBuilder
|
|
175
|
-
footer(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
176
|
-
footer(attrs: (e: IDotAttrBuilder
|
|
177
|
-
|
|
178
|
-
form(content?: DotContent, attrs?: (attrs: IDotForm)=>IDotForm|void): IDotDocument;
|
|
179
|
-
form(attrs: (attrs: IDotForm)=>IDotForm|void, content?: DotContent): IDotDocument;
|
|
180
|
-
|
|
181
|
-
h1(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
182
|
-
h1(attrs: (e: IDotAttrBuilder
|
|
183
|
-
h2(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
184
|
-
h2(attrs: (e: IDotAttrBuilder
|
|
185
|
-
h3(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
186
|
-
h3(attrs: (e: IDotAttrBuilder
|
|
187
|
-
h4(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
188
|
-
h4(attrs: (e: IDotAttrBuilder
|
|
189
|
-
h5(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
190
|
-
h5(attrs: (e: IDotAttrBuilder
|
|
191
|
-
h6(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
192
|
-
h6(attrs: (e: IDotAttrBuilder
|
|
193
|
-
header(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
194
|
-
header(attrs: (e: IDotAttrBuilder
|
|
195
|
-
|
|
196
|
-
hr(content?: DotContent, attrs?: (attrs: IDotHr)=>IDotHr|void): IDotDocument;
|
|
197
|
-
hr(attrs: (attrs: IDotHr)=>IDotHr|void, content?: DotContent): IDotDocument;
|
|
198
|
-
|
|
199
|
-
i(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
200
|
-
i(attrs: (e: IDotAttrBuilder
|
|
201
|
-
|
|
202
|
-
iFrame(content?: DotContent, attrs?: (attrs: IDotIFrame)=>IDotIFrame|void): IDotDocument;
|
|
203
|
-
iFrame(attrs: (attrs: IDotIFrame)=>IDotIFrame|void, content?: DotContent): IDotDocument;
|
|
204
|
-
img(content?: DotContent, attrs?: (attrs: IDotImg)=>IDotImg|void): IDotDocument;
|
|
205
|
-
img(attrs: (attrs: IDotImg)=>IDotImg|void, content?: DotContent): IDotDocument;
|
|
206
|
-
input(content?: DotContent, attrs?: (attrs: IDotInput)=>IDotInput|void): IDotDocument;
|
|
207
|
-
input(attrs: (attrs: IDotInput)=>IDotInput|void, content?: DotContent): IDotDocument;
|
|
208
|
-
ins(content?: DotContent, attrs?: (attrs: IDotIns)=>IDotIns|void): IDotDocument;
|
|
209
|
-
ins(attrs: (attrs: IDotIns)=>IDotIns|void, content?: DotContent): IDotDocument;
|
|
210
|
-
|
|
211
|
-
kbd(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
212
|
-
kbd(attrs: (e: IDotAttrBuilder
|
|
213
|
-
|
|
116
|
+
body(content?: DotContent, attrs?: (attrs: IDotBody) => IDotBody | void): IDotDocument;
|
|
117
|
+
body(attrs: (attrs: IDotBody) => IDotBody | void, content?: DotContent): IDotDocument;
|
|
118
|
+
|
|
119
|
+
br(content?: DotContent, attrs?: (attrs: IDotBr) => IDotBr | void): IDotDocument;
|
|
120
|
+
br(attrs: (attrs: IDotBr) => IDotBr | void, content?: DotContent): IDotDocument;
|
|
121
|
+
button(content?: DotContent, attrs?: (attrs: IDotButton) => IDotButton | void): IDotDocument;
|
|
122
|
+
button(attrs: (attrs: IDotButton) => IDotButton | void, content?: DotContent): IDotDocument;
|
|
123
|
+
canvas(content?: DotContent, attrs?: (attrs: IDotCanvas) => IDotCanvas | void): IDotDocument;
|
|
124
|
+
canvas(attrs: (attrs: IDotCanvas) => IDotCanvas | void, content?: DotContent): IDotDocument;
|
|
125
|
+
|
|
126
|
+
caption(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
127
|
+
caption(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
128
|
+
cite(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
129
|
+
cite(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
130
|
+
code(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
131
|
+
code(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
132
|
+
|
|
133
|
+
col(content?: DotContent, attrs?: (attrs: IDotCol) => IDotCol | void): IDotDocument;
|
|
134
|
+
col(attrs: (attrs: IDotCol) => IDotCol | void, content?: DotContent): IDotDocument;
|
|
135
|
+
colGroup(content?: DotContent, attrs?: (attrs: IDotColGroup) => IDotColGroup | void): IDotDocument;
|
|
136
|
+
colGroup(attrs: (attrs: IDotColGroup) => IDotColGroup | void, content?: DotContent): IDotDocument;
|
|
137
|
+
|
|
138
|
+
content(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
139
|
+
content(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
140
|
+
data(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
141
|
+
data(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
142
|
+
dataList(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
143
|
+
dataList(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
144
|
+
dd(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
145
|
+
dd(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
146
|
+
|
|
147
|
+
del(content?: DotContent, attrs?: (attrs: IDotDel) => IDotDel | void): IDotDocument;
|
|
148
|
+
del(attrs: (attrs: IDotDel) => IDotDel | void, content?: DotContent): IDotDocument;
|
|
149
|
+
details(content?: DotContent, attrs?: (attrs: IDotDetails) => IDotDetails | void): IDotDocument;
|
|
150
|
+
details(attrs: (attrs: IDotDetails) => IDotDetails | void, content?: DotContent): IDotDocument;
|
|
151
|
+
|
|
152
|
+
dfn(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
153
|
+
dfn(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
154
|
+
dialog(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
155
|
+
dialog(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
156
|
+
div(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
157
|
+
div(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
158
|
+
dl(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
159
|
+
dl(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
160
|
+
dt(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
161
|
+
dt(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
162
|
+
em(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
163
|
+
em(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
164
|
+
|
|
165
|
+
embed(content?: DotContent, attrs?: (attrs: IDotEmbed) => IDotEmbed | void): IDotDocument;
|
|
166
|
+
embed(attrs: (attrs: IDotEmbed) => IDotEmbed | void, content?: DotContent): IDotDocument;
|
|
167
|
+
fieldSet(content?: DotContent, attrs?: (attrs: IDotFieldSet) => IDotFieldSet | void): IDotDocument;
|
|
168
|
+
fieldSet(attrs: (attrs: IDotFieldSet) => IDotFieldSet | void, content?: DotContent): IDotDocument;
|
|
169
|
+
|
|
170
|
+
figCaption(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
171
|
+
figCaption(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
172
|
+
figure(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
173
|
+
figure(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
174
|
+
footer(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
175
|
+
footer(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
176
|
+
|
|
177
|
+
form(content?: DotContent, attrs?: (attrs: IDotForm) => IDotForm | void): IDotDocument;
|
|
178
|
+
form(attrs: (attrs: IDotForm) => IDotForm | void, content?: DotContent): IDotDocument;
|
|
179
|
+
|
|
180
|
+
h1(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
181
|
+
h1(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
182
|
+
h2(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
183
|
+
h2(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
184
|
+
h3(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
185
|
+
h3(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
186
|
+
h4(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
187
|
+
h4(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
188
|
+
h5(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
189
|
+
h5(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
190
|
+
h6(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
191
|
+
h6(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
192
|
+
header(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
193
|
+
header(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
194
|
+
|
|
195
|
+
hr(content?: DotContent, attrs?: (attrs: IDotHr) => IDotHr | void): IDotDocument;
|
|
196
|
+
hr(attrs: (attrs: IDotHr) => IDotHr | void, content?: DotContent): IDotDocument;
|
|
197
|
+
|
|
198
|
+
i(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
199
|
+
i(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
200
|
+
|
|
201
|
+
iFrame(content?: DotContent, attrs?: (attrs: IDotIFrame) => IDotIFrame | void): IDotDocument;
|
|
202
|
+
iFrame(attrs: (attrs: IDotIFrame) => IDotIFrame | void, content?: DotContent): IDotDocument;
|
|
203
|
+
img(content?: DotContent, attrs?: (attrs: IDotImg) => IDotImg | void): IDotDocument;
|
|
204
|
+
img(attrs: (attrs: IDotImg) => IDotImg | void, content?: DotContent): IDotDocument;
|
|
205
|
+
input(content?: DotContent, attrs?: (attrs: IDotInput) => IDotInput | void): IDotDocument;
|
|
206
|
+
input(attrs: (attrs: IDotInput) => IDotInput | void, content?: DotContent): IDotDocument;
|
|
207
|
+
ins(content?: DotContent, attrs?: (attrs: IDotIns) => IDotIns | void): IDotDocument;
|
|
208
|
+
ins(attrs: (attrs: IDotIns) => IDotIns | void, content?: DotContent): IDotDocument;
|
|
209
|
+
|
|
210
|
+
kbd(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
211
|
+
kbd(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
212
|
+
|
|
214
213
|
/** @deprecated Deprecated in HTML5. */
|
|
215
|
-
keyGen(content?: DotContent, attrs?: (attrs: IDotKeyGen)=>IDotKeyGen|void): IDotDocument;
|
|
216
|
-
keyGen(attrs: (attrs: IDotKeyGen)=>IDotKeyGen|void, content?: DotContent): IDotDocument;
|
|
217
|
-
label(content?: DotContent, attrs?: (attrs: IDotLabel)=>IDotLabel|void): IDotDocument;
|
|
218
|
-
label(attrs: (attrs: IDotLabel)=>IDotLabel|void, content?: DotContent): IDotDocument;
|
|
219
|
-
|
|
220
|
-
legend(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
221
|
-
legend(attrs: (e: IDotAttrBuilder
|
|
222
|
-
|
|
223
|
-
li(content?: DotContent, attrs?: (attrs: IDotLi)=>IDotLi|void): IDotDocument;
|
|
224
|
-
li(attrs: (attrs: IDotLi)=>IDotLi|void, content?: DotContent): IDotDocument;
|
|
225
|
-
|
|
226
|
-
main(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
227
|
-
main(attrs: (e: IDotAttrBuilder
|
|
228
|
-
|
|
229
|
-
map(content?: DotContent, attrs?: (attrs: IDotMap)=>IDotMap|void): IDotDocument;
|
|
230
|
-
map(attrs: (attrs: IDotMap)=>IDotMap|void, content?: DotContent): IDotDocument;
|
|
231
|
-
|
|
232
|
-
mark(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
233
|
-
mark(attrs: (e: IDotAttrBuilder
|
|
234
|
-
|
|
235
|
-
menu(content?: DotContent, attrs?: (attrs: IDotMenu)=>IDotMenu|void): IDotDocument;
|
|
236
|
-
menu(attrs: (attrs: IDotMenu)=>IDotMenu|void, content?: DotContent): IDotDocument;
|
|
237
|
-
meter(content?: DotContent, attrs?: (attrs: IDotMeter)=>IDotMeter|void): IDotDocument;
|
|
238
|
-
meter(attrs: (attrs: IDotMeter)=>IDotMeter|void, content?: DotContent): IDotDocument;
|
|
239
|
-
|
|
240
|
-
nav(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
241
|
-
nav(attrs: (e: IDotAttrBuilder
|
|
242
|
-
|
|
243
|
-
object(content?: DotContent, attrs?: (attrs: IDotObject)=>IDotObject|void): IDotDocument;
|
|
244
|
-
object(attrs: (attrs: IDotObject)=>IDotObject|void, content?: DotContent): IDotDocument;
|
|
245
|
-
ol(content?: DotContent, attrs?: (attrs: IDotOl)=>IDotOl|void): IDotDocument;
|
|
246
|
-
ol(attrs: (attrs: IDotOl)=>IDotOl|void, content?: DotContent): IDotDocument;
|
|
247
|
-
optGroup(content?: DotContent, attrs?: (attrs: IDotOptGroup)=>IDotOptGroup|void): IDotDocument;
|
|
248
|
-
optGroup(attrs: (attrs: IDotOptGroup)=>IDotOptGroup|void, content?: DotContent): IDotDocument;
|
|
249
|
-
option(content?: DotContent, attrs?: (attrs: IDotOption)=>IDotOption|void): IDotDocument;
|
|
250
|
-
option(attrs: (attrs: IDotOption)=>IDotOption|void, content?: DotContent): IDotDocument;
|
|
251
|
-
output(content?: DotContent, attrs?: (attrs: IDotOutput)=>IDotOutput|void): IDotDocument;
|
|
252
|
-
output(attrs: (attrs: IDotOutput)=>IDotOutput|void, content?: DotContent): IDotDocument;
|
|
253
|
-
|
|
254
|
-
p(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
255
|
-
p(attrs: (e: IDotAttrBuilder
|
|
256
|
-
|
|
257
|
-
param(content?: DotContent, attrs?: (attrs: IDotParam)=>IDotParam|void): IDotDocument;
|
|
258
|
-
param(attrs: (attrs: IDotParam)=>IDotParam|void, content?: DotContent): IDotDocument;
|
|
259
|
-
|
|
260
|
-
pre(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
261
|
-
pre(attrs: (e: IDotAttrBuilder
|
|
262
|
-
|
|
263
|
-
progress(content?: DotContent, attrs?: (attrs: IDotProgress)=>IDotProgress|void): IDotDocument;
|
|
264
|
-
progress(attrs: (attrs: IDotProgress)=>IDotProgress|void, content?: DotContent): IDotDocument;
|
|
265
|
-
q(content?: DotContent, attrs?: (attrs: IDotQ)=>IDotQ|void): IDotDocument;
|
|
266
|
-
q(attrs: (attrs: IDotQ)=>IDotQ|void, content?: DotContent): IDotDocument;
|
|
267
|
-
|
|
268
|
-
rp(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
269
|
-
rp(attrs: (e: IDotAttrBuilder
|
|
270
|
-
rt(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
271
|
-
rt(attrs: (e: IDotAttrBuilder
|
|
272
|
-
ruby(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
273
|
-
ruby(attrs: (e: IDotAttrBuilder
|
|
274
|
-
s(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
275
|
-
s(attrs: (e: IDotAttrBuilder
|
|
276
|
-
samp(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
277
|
-
samp(attrs: (e: IDotAttrBuilder
|
|
278
|
-
section(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
279
|
-
section(attrs: (e: IDotAttrBuilder
|
|
280
|
-
|
|
281
|
-
select(content?: DotContent, attrs?: (attrs: IDotSelect)=>IDotSelect|void): IDotDocument;
|
|
282
|
-
select(attrs: (attrs: IDotSelect)=>IDotSelect|void, content?: DotContent): IDotDocument;
|
|
283
|
-
|
|
284
|
-
small(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
285
|
-
small(attrs: (e: IDotAttrBuilder
|
|
286
|
-
|
|
287
|
-
source(content?: DotContent, attrs?: (attrs: IDotSource)=>IDotSource|void): IDotDocument;
|
|
288
|
-
source(attrs: (attrs: IDotSource)=>IDotSource|void, content?: DotContent): IDotDocument;
|
|
289
|
-
|
|
290
|
-
span(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
291
|
-
span(attrs: (e: IDotAttrBuilder
|
|
292
|
-
strong(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
293
|
-
strong(attrs: (e: IDotAttrBuilder
|
|
294
|
-
svg(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
295
|
-
svg(attrs: (e: IDotAttrBuilder
|
|
296
|
-
sub(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
297
|
-
sub(attrs: (e: IDotAttrBuilder
|
|
298
|
-
summary(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
299
|
-
summary(attrs: (e: IDotAttrBuilder
|
|
300
|
-
sup(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
301
|
-
sup(attrs: (e: IDotAttrBuilder
|
|
302
|
-
|
|
303
|
-
table(content?: DotContent, attrs?: (attrs: IDotTable)=>IDotTable|void): IDotDocument;
|
|
304
|
-
table(attrs: (attrs: IDotTable)=>IDotTable|void, content?: DotContent): IDotDocument;
|
|
305
|
-
tBody(content?: DotContent, attrs?: (attrs: IDotTBody)=>IDotTBody|void): IDotDocument;
|
|
306
|
-
tBody(attrs: (attrs: IDotTBody)=>IDotTBody|void, content?: DotContent): IDotDocument;
|
|
307
|
-
td(content?: DotContent, attrs?: (attrs: IDotTd)=>IDotTd|void): IDotDocument;
|
|
308
|
-
td(attrs: (attrs: IDotTd)=>IDotTd|void, content?: DotContent): IDotDocument;
|
|
309
|
-
textArea(content?: DotContent, attrs?: (attrs: IDotTextArea)=>IDotTextArea|void): IDotDocument;
|
|
310
|
-
textArea(attrs: (attrs: IDotTextArea)=>IDotTextArea|void, content?: DotContent): IDotDocument;
|
|
311
|
-
tFoot(content?: DotContent, attrs?: (attrs: IDotTFoot)=>IDotTFoot|void): IDotDocument;
|
|
312
|
-
tFoot(attrs: (attrs: IDotTFoot)=>IDotTFoot|void, content?: DotContent): IDotDocument;
|
|
313
|
-
th(content?: DotContent, attrs?: (attrs: IDotTh)=>IDotTh|void): IDotDocument;
|
|
314
|
-
th(attrs: (attrs: IDotTh)=>IDotTh|void, content?: DotContent): IDotDocument;
|
|
315
|
-
tHead(content?: DotContent, attrs?: (attrs: IDotTHead)=>IDotTHead|void): IDotDocument;
|
|
316
|
-
tHead(attrs: (attrs: IDotTHead)=>IDotTHead|void, content?: DotContent): IDotDocument;
|
|
317
|
-
time(content?: DotContent, attrs?: (attrs: IDotTime)=>IDotTime|void): IDotDocument;
|
|
318
|
-
time(attrs: (attrs: IDotTime)=>IDotTime|void, content?: DotContent): IDotDocument;
|
|
319
|
-
tr(content?: DotContent, attrs?: (attrs: IDotTr)=>IDotTr|void): IDotDocument;
|
|
320
|
-
tr(attrs: (attrs: IDotTr)=>IDotTr|void, content?: DotContent): IDotDocument;
|
|
321
|
-
track(content?: DotContent, attrs?: (attrs: IDotTrack)=>IDotTrack|void): IDotDocument;
|
|
322
|
-
track(attrs: (attrs: IDotTrack)=>IDotTrack|void, content?: DotContent): IDotDocument;
|
|
323
|
-
|
|
324
|
-
u(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
325
|
-
u(attrs: (e: IDotAttrBuilder
|
|
326
|
-
ul(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
327
|
-
ul(attrs: (e: IDotAttrBuilder
|
|
328
|
-
var(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
329
|
-
var(attrs: (e: IDotAttrBuilder
|
|
330
|
-
|
|
331
|
-
video(content?: DotContent, attrs?: (attrs: IDotVideo)=>IDotVideo|void): IDotDocument;
|
|
332
|
-
video(attrs: (attrs: IDotVideo)=>IDotVideo|void, content?: DotContent): IDotDocument;
|
|
333
|
-
|
|
334
|
-
wbr(content?: DotContent, attrs?: (e: IDotAttrBuilder
|
|
335
|
-
wbr(attrs: (e: IDotAttrBuilder
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
type Styles = string|
|
|
214
|
+
keyGen(content?: DotContent, attrs?: (attrs: IDotKeyGen) => IDotKeyGen | void): IDotDocument;
|
|
215
|
+
keyGen(attrs: (attrs: IDotKeyGen) => IDotKeyGen | void, content?: DotContent): IDotDocument;
|
|
216
|
+
label(content?: DotContent, attrs?: (attrs: IDotLabel) => IDotLabel | void): IDotDocument;
|
|
217
|
+
label(attrs: (attrs: IDotLabel) => IDotLabel | void, content?: DotContent): IDotDocument;
|
|
218
|
+
|
|
219
|
+
legend(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
220
|
+
legend(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
221
|
+
|
|
222
|
+
li(content?: DotContent, attrs?: (attrs: IDotLi) => IDotLi | void): IDotDocument;
|
|
223
|
+
li(attrs: (attrs: IDotLi) => IDotLi | void, content?: DotContent): IDotDocument;
|
|
224
|
+
|
|
225
|
+
main(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
226
|
+
main(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
227
|
+
|
|
228
|
+
map(content?: DotContent, attrs?: (attrs: IDotMap) => IDotMap | void): IDotDocument;
|
|
229
|
+
map(attrs: (attrs: IDotMap) => IDotMap | void, content?: DotContent): IDotDocument;
|
|
230
|
+
|
|
231
|
+
mark(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
232
|
+
mark(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
233
|
+
|
|
234
|
+
menu(content?: DotContent, attrs?: (attrs: IDotMenu) => IDotMenu | void): IDotDocument;
|
|
235
|
+
menu(attrs: (attrs: IDotMenu) => IDotMenu | void, content?: DotContent): IDotDocument;
|
|
236
|
+
meter(content?: DotContent, attrs?: (attrs: IDotMeter) => IDotMeter | void): IDotDocument;
|
|
237
|
+
meter(attrs: (attrs: IDotMeter) => IDotMeter | void, content?: DotContent): IDotDocument;
|
|
238
|
+
|
|
239
|
+
nav(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
240
|
+
nav(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
241
|
+
|
|
242
|
+
object(content?: DotContent, attrs?: (attrs: IDotObject) => IDotObject | void): IDotDocument;
|
|
243
|
+
object(attrs: (attrs: IDotObject) => IDotObject | void, content?: DotContent): IDotDocument;
|
|
244
|
+
ol(content?: DotContent, attrs?: (attrs: IDotOl) => IDotOl | void): IDotDocument;
|
|
245
|
+
ol(attrs: (attrs: IDotOl) => IDotOl | void, content?: DotContent): IDotDocument;
|
|
246
|
+
optGroup(content?: DotContent, attrs?: (attrs: IDotOptGroup) => IDotOptGroup | void): IDotDocument;
|
|
247
|
+
optGroup(attrs: (attrs: IDotOptGroup) => IDotOptGroup | void, content?: DotContent): IDotDocument;
|
|
248
|
+
option(content?: DotContent, attrs?: (attrs: IDotOption) => IDotOption | void): IDotDocument;
|
|
249
|
+
option(attrs: (attrs: IDotOption) => IDotOption | void, content?: DotContent): IDotDocument;
|
|
250
|
+
output(content?: DotContent, attrs?: (attrs: IDotOutput) => IDotOutput | void): IDotDocument;
|
|
251
|
+
output(attrs: (attrs: IDotOutput) => IDotOutput | void, content?: DotContent): IDotDocument;
|
|
252
|
+
|
|
253
|
+
p(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
254
|
+
p(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
255
|
+
|
|
256
|
+
param(content?: DotContent, attrs?: (attrs: IDotParam) => IDotParam | void): IDotDocument;
|
|
257
|
+
param(attrs: (attrs: IDotParam) => IDotParam | void, content?: DotContent): IDotDocument;
|
|
258
|
+
|
|
259
|
+
pre(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
260
|
+
pre(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
261
|
+
|
|
262
|
+
progress(content?: DotContent, attrs?: (attrs: IDotProgress) => IDotProgress | void): IDotDocument;
|
|
263
|
+
progress(attrs: (attrs: IDotProgress) => IDotProgress | void, content?: DotContent): IDotDocument;
|
|
264
|
+
q(content?: DotContent, attrs?: (attrs: IDotQ) => IDotQ | void): IDotDocument;
|
|
265
|
+
q(attrs: (attrs: IDotQ) => IDotQ | void, content?: DotContent): IDotDocument;
|
|
266
|
+
|
|
267
|
+
rp(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
268
|
+
rp(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
269
|
+
rt(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
270
|
+
rt(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
271
|
+
ruby(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
272
|
+
ruby(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
273
|
+
s(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
274
|
+
s(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
275
|
+
samp(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
276
|
+
samp(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
277
|
+
section(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
278
|
+
section(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
279
|
+
|
|
280
|
+
select(content?: DotContent, attrs?: (attrs: IDotSelect) => IDotSelect | void): IDotDocument;
|
|
281
|
+
select(attrs: (attrs: IDotSelect) => IDotSelect | void, content?: DotContent): IDotDocument;
|
|
282
|
+
|
|
283
|
+
small(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
284
|
+
small(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
285
|
+
|
|
286
|
+
source(content?: DotContent, attrs?: (attrs: IDotSource) => IDotSource | void): IDotDocument;
|
|
287
|
+
source(attrs: (attrs: IDotSource) => IDotSource | void, content?: DotContent): IDotDocument;
|
|
288
|
+
|
|
289
|
+
span(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
290
|
+
span(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
291
|
+
strong(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
292
|
+
strong(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
293
|
+
svg(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
294
|
+
svg(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
295
|
+
sub(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
296
|
+
sub(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
297
|
+
summary(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
298
|
+
summary(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
299
|
+
sup(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
300
|
+
sup(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
301
|
+
|
|
302
|
+
table(content?: DotContent, attrs?: (attrs: IDotTable) => IDotTable | void): IDotDocument;
|
|
303
|
+
table(attrs: (attrs: IDotTable) => IDotTable | void, content?: DotContent): IDotDocument;
|
|
304
|
+
tBody(content?: DotContent, attrs?: (attrs: IDotTBody) => IDotTBody | void): IDotDocument;
|
|
305
|
+
tBody(attrs: (attrs: IDotTBody) => IDotTBody | void, content?: DotContent): IDotDocument;
|
|
306
|
+
td(content?: DotContent, attrs?: (attrs: IDotTd) => IDotTd | void): IDotDocument;
|
|
307
|
+
td(attrs: (attrs: IDotTd) => IDotTd | void, content?: DotContent): IDotDocument;
|
|
308
|
+
textArea(content?: DotContent, attrs?: (attrs: IDotTextArea) => IDotTextArea | void): IDotDocument;
|
|
309
|
+
textArea(attrs: (attrs: IDotTextArea) => IDotTextArea | void, content?: DotContent): IDotDocument;
|
|
310
|
+
tFoot(content?: DotContent, attrs?: (attrs: IDotTFoot) => IDotTFoot | void): IDotDocument;
|
|
311
|
+
tFoot(attrs: (attrs: IDotTFoot) => IDotTFoot | void, content?: DotContent): IDotDocument;
|
|
312
|
+
th(content?: DotContent, attrs?: (attrs: IDotTh) => IDotTh | void): IDotDocument;
|
|
313
|
+
th(attrs: (attrs: IDotTh) => IDotTh | void, content?: DotContent): IDotDocument;
|
|
314
|
+
tHead(content?: DotContent, attrs?: (attrs: IDotTHead) => IDotTHead | void): IDotDocument;
|
|
315
|
+
tHead(attrs: (attrs: IDotTHead) => IDotTHead | void, content?: DotContent): IDotDocument;
|
|
316
|
+
time(content?: DotContent, attrs?: (attrs: IDotTime) => IDotTime | void): IDotDocument;
|
|
317
|
+
time(attrs: (attrs: IDotTime) => IDotTime | void, content?: DotContent): IDotDocument;
|
|
318
|
+
tr(content?: DotContent, attrs?: (attrs: IDotTr) => IDotTr | void): IDotDocument;
|
|
319
|
+
tr(attrs: (attrs: IDotTr) => IDotTr | void, content?: DotContent): IDotDocument;
|
|
320
|
+
track(content?: DotContent, attrs?: (attrs: IDotTrack) => IDotTrack | void): IDotDocument;
|
|
321
|
+
track(attrs: (attrs: IDotTrack) => IDotTrack | void, content?: DotContent): IDotDocument;
|
|
322
|
+
|
|
323
|
+
u(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
324
|
+
u(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
325
|
+
ul(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
326
|
+
ul(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
327
|
+
var(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
328
|
+
var(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
329
|
+
|
|
330
|
+
video(content?: DotContent, attrs?: (attrs: IDotVideo) => IDotVideo | void): IDotDocument;
|
|
331
|
+
video(attrs: (attrs: IDotVideo) => IDotVideo | void, content?: DotContent): IDotDocument;
|
|
332
|
+
|
|
333
|
+
wbr(content?: DotContent, attrs?: (e: IDotAttrBuilder) => IDotAttrBuilder | void): IDotDocument;
|
|
334
|
+
wbr(attrs: (e: IDotAttrBuilder) => IDotAttrBuilder | void, content?: DotContent): IDotDocument;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type Styles = string | IDotcssProp;
|
|
339
338
|
interface IComponentFactory {
|
|
340
|
-
|
|
341
|
-
useStyles<T extends IComponent>(styles: Styles|Styles[]): (Base: new () => T) => new () => T;
|
|
342
|
-
hasEvents<T extends IComponent>(styles: Styles|Styles[]): (Base: new () => T) => new () => T;
|
|
339
|
+
<T extends IComponent>(Base: new () => T, styles?: Styles | Styles[]): new () => T;
|
|
340
|
+
useStyles<T extends IComponent>(styles: Styles | Styles[]): (Base: new () => T) => new () => T;
|
|
341
|
+
hasEvents<T extends IComponent>(styles: Styles | Styles[]): (Base: new () => T) => new () => T;
|
|
343
342
|
prop(target: any, propertyKey: string): void;
|
|
344
343
|
}
|
|
345
344
|
|
|
@@ -347,20 +346,19 @@ interface IComponentFactory {
|
|
|
347
346
|
/**
|
|
348
347
|
* Interface for the dot object.
|
|
349
348
|
*/
|
|
350
|
-
export interface IDotCore extends IDotDocument
|
|
351
|
-
|
|
352
|
-
(targetSelector: string|Element|Node|NodeList|Array<Node|Element>): IDotDocument;
|
|
349
|
+
export interface IDotCore extends IDotDocument {
|
|
350
|
+
(targetSelector: string | Element | Node | NodeList | Array<Node | Element>): IDotDocument;
|
|
353
351
|
|
|
354
352
|
version: string;
|
|
355
|
-
styleMode: "sync"|"async";
|
|
353
|
+
styleMode: "sync" | "async";
|
|
356
354
|
|
|
357
355
|
navigate(path: string, noHistory?: boolean, force?: boolean): void;
|
|
358
356
|
css: IDotCss;
|
|
359
357
|
bus: IEventBus;
|
|
360
358
|
// window: IDotWindowBuilder;
|
|
361
359
|
|
|
362
|
-
watch<Ti = IReactive|Array<any
|
|
363
|
-
|
|
360
|
+
watch<Ti = IReactive | Array<any> | { [key: string | number]: any } | string | number | boolean, To = Ti>(initValue?: Ti, props?: { key?: string, transformer?: (value: Ti) => To }): IReactive<Ti, To>;
|
|
361
|
+
|
|
364
362
|
// Keep these around for a bit to show how it was done before in case I need to change anything prior to the v6 launch.
|
|
365
363
|
// component<T extends IComponent>(Base: new (...args: Parameters<T['build']>) => T): new (...args: Parameters<T['build']>) => T;
|
|
366
364
|
// useStyles<T extends IComponent>(styles: string|((css: IDotCss)=>IDotcssProp|string)): ((Base: new (...args: Parameters<T['build']>) => T) => new (...args: Parameters<T['build']>) => T);
|
|
@@ -369,16 +367,16 @@ export interface IDotCore extends IDotDocument
|
|
|
369
367
|
useStyles(document: Document, styles: Styles): HTMLStyleElement;
|
|
370
368
|
}
|
|
371
369
|
|
|
372
|
-
export interface IDotWindowBuilder{
|
|
370
|
+
export interface IDotWindowBuilder {
|
|
373
371
|
(content): Window;
|
|
374
372
|
}
|
|
375
373
|
|
|
376
|
-
export interface IDotConditionalDocument extends IDotDocument{
|
|
374
|
+
export interface IDotConditionalDocument extends IDotDocument {
|
|
377
375
|
/**
|
|
378
376
|
* A conditional catch, analogous to else if. Can be used after a when function. Evaluates if the previous when's condition was false.
|
|
379
377
|
* Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
|
|
380
378
|
*/
|
|
381
|
-
otherwiseWhen(condition:IReactive|boolean, callback: DotContent): IDotConditionalDocument;
|
|
379
|
+
otherwiseWhen(condition: IReactive | boolean, callback: DotContent): IDotConditionalDocument;
|
|
382
380
|
/**
|
|
383
381
|
* 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.
|
|
384
382
|
* Renders the specified DOT if a condition is met. Dynamic binding is possible when callback is a function.
|
|
@@ -387,182 +385,173 @@ export interface IDotConditionalDocument extends IDotDocument{
|
|
|
387
385
|
}
|
|
388
386
|
|
|
389
387
|
// Attribute interface (for all elements):
|
|
390
|
-
export interface IDotAttrBuilder
|
|
391
|
-
{
|
|
392
|
-
// (document?: Element, classPrefix?: number): IDotElement;
|
|
393
|
-
// TODO: consider allowing a function that passes in the container for the previous element to allow adding attributes to it.
|
|
394
|
-
// TODO: I'd really like to enable this. Unfortunately it's not terribly easy to implement.
|
|
395
|
-
// Might be impossible in ES5 (notwithstanding some possible hackery).
|
|
396
|
-
//(content?: DotContent): IDotElementDocument<IDotGenericElement>;
|
|
397
|
-
|
|
398
|
-
// TODO: this will erase element context, which could be a bug.
|
|
399
|
-
// It can be duplicated multiple times below, or find a new solution.
|
|
388
|
+
export interface IDotAttrBuilder {
|
|
400
389
|
/**
|
|
401
390
|
* Create a custom attribute.
|
|
402
391
|
*/
|
|
403
|
-
attr(name: string, value: unknown, arg3?: unknown): T;
|
|
392
|
+
// attr(name: string, value: unknown, arg3?: unknown): T;
|
|
393
|
+
custom?: Record<string, AttrVal<unknown>>
|
|
404
394
|
/**
|
|
405
395
|
* Adds a data-<suffix> attribute to the current element which can contain custom data.
|
|
406
396
|
*/
|
|
407
|
-
customData
|
|
397
|
+
customData?: Record<string, AttrVal<unknown>>;
|
|
408
398
|
/**
|
|
409
399
|
* Create a named reference to the current element so that it can be accessed within the current component.
|
|
410
400
|
*/
|
|
411
|
-
|
|
401
|
+
// TODO: this needs to be redone now.
|
|
402
|
+
// The better way might be using the new reactive system instead of references.
|
|
403
|
+
// For now I'll leave it like this:
|
|
404
|
+
ref?: IReactive<HTMLElement>;
|
|
412
405
|
|
|
413
406
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
414
|
-
bgColor
|
|
407
|
+
bgColor?: AttrVal<unknown>;
|
|
415
408
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
416
|
-
color
|
|
409
|
+
color?: AttrVal<unknown>;
|
|
417
410
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
418
|
-
aLink
|
|
411
|
+
aLink?: AttrVal<unknown>;
|
|
419
412
|
/** @deprecated Deprecated in HTML5. */
|
|
420
|
-
archive
|
|
421
|
-
|
|
413
|
+
archive?: AttrVal<unknown>;
|
|
414
|
+
|
|
422
415
|
// TODO: we're still missing some additional global attributes. See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/
|
|
423
|
-
areaHidden
|
|
424
|
-
areaLabel
|
|
425
|
-
areaDescribedBy
|
|
426
|
-
areaControls
|
|
427
|
-
areaExpanded
|
|
428
|
-
areaChecked
|
|
429
|
-
areaSelected
|
|
430
|
-
accessKey
|
|
431
|
-
class
|
|
432
|
-
contentEditable
|
|
433
|
-
contextMenu
|
|
434
|
-
dir
|
|
435
|
-
draggable
|
|
436
|
-
dropZone
|
|
437
|
-
exportParts
|
|
438
|
-
hidden
|
|
439
|
-
id
|
|
440
|
-
inert
|
|
441
|
-
inputMode
|
|
442
|
-
is
|
|
443
|
-
itemId
|
|
444
|
-
itemProp
|
|
445
|
-
itemRef
|
|
446
|
-
itemScope
|
|
447
|
-
itemType
|
|
448
|
-
lang
|
|
449
|
-
nOnce
|
|
450
|
-
part
|
|
451
|
-
role
|
|
452
|
-
spellCheck
|
|
453
|
-
style
|
|
454
|
-
tabIndex
|
|
455
|
-
title
|
|
456
|
-
translate
|
|
457
|
-
virtualKeyboardPolicy
|
|
416
|
+
areaHidden?: AttrVal<boolean>;
|
|
417
|
+
areaLabel?: AttrVal<string>;
|
|
418
|
+
areaDescribedBy?: AttrVal<string>;
|
|
419
|
+
areaControls?: AttrVal<string>;
|
|
420
|
+
areaExpanded?: AttrVal<boolean>;
|
|
421
|
+
areaChecked?: AttrVal<string>;
|
|
422
|
+
areaSelected?: AttrVal<boolean>;
|
|
423
|
+
accessKey?: AttrVal<string>; // This could potentially be enumerated. But care should be taken as these types are already quite complex.
|
|
424
|
+
class?: AttrVal<string> | Array<AttrVal<string>> | AttrVal<Array<string>> | Record<string, AttrVal<string>>; // Space-separated. TODO: need tests.
|
|
425
|
+
contentEditable?: AttrVal<"true"> | AttrVal<"false"> | AttrVal<"plaintext-only">;
|
|
426
|
+
contextMenu?: AttrVal<string>;
|
|
427
|
+
dir?: AttrVal<string>;
|
|
428
|
+
draggable?: AttrVal<"true"> | AttrVal<"false">;
|
|
429
|
+
dropZone?: AttrVal<"move"> | AttrVal<"copy"> | AttrVal<"link">;
|
|
430
|
+
exportParts?: AttrVal<string>;
|
|
431
|
+
hidden?: AttrVal<boolean>;
|
|
432
|
+
id?: string;
|
|
433
|
+
inert?: AttrVal<boolean>;
|
|
434
|
+
inputMode?: AttrVal<string>;
|
|
435
|
+
is?: AttrVal<string>;
|
|
436
|
+
itemId?: AttrVal<string>;
|
|
437
|
+
itemProp?: AttrVal<string>;
|
|
438
|
+
itemRef?: AttrVal<string>;
|
|
439
|
+
itemScope?: AttrVal<string>;
|
|
440
|
+
itemType?: AttrVal<string>;
|
|
441
|
+
lang?: AttrVal<string>;
|
|
442
|
+
nOnce?: AttrVal<string>;
|
|
443
|
+
part?: AttrVal<string>;
|
|
444
|
+
role?: AttrVal<string>;
|
|
445
|
+
spellCheck?: AttrVal<"true"> | AttrVal<"false">;
|
|
446
|
+
style?: string | IDotcssProp;
|
|
447
|
+
tabIndex?: AttrVal<number>;
|
|
448
|
+
title?: AttrVal<string>;
|
|
449
|
+
translate?: AttrVal<string>;
|
|
450
|
+
virtualKeyboardPolicy?: AttrVal<"auto"> | AttrVal<"manual">;
|
|
458
451
|
|
|
459
452
|
// Events
|
|
460
453
|
|
|
461
|
-
onContextMenu
|
|
462
|
-
onCopy
|
|
463
|
-
onCut
|
|
464
|
-
onPagePaste
|
|
465
|
-
|
|
466
|
-
onDrag
|
|
467
|
-
onDragEnd
|
|
468
|
-
onDragStart
|
|
469
|
-
onDragEnter
|
|
470
|
-
onDragOver
|
|
471
|
-
onDragLeave
|
|
472
|
-
onDrop
|
|
473
|
-
onError
|
|
474
|
-
onInvalid
|
|
475
|
-
onMouseWheel
|
|
476
|
-
onWheel
|
|
454
|
+
onContextMenu?: (e: MouseEvent) => void; // global
|
|
455
|
+
onCopy?: (e: ClipboardEvent) => void; // global
|
|
456
|
+
onCut?: (e: ClipboardEvent) => void; // global
|
|
457
|
+
onPagePaste?: (e: ClipboardEvent) => void; // global
|
|
458
|
+
|
|
459
|
+
onDrag?: (e: DragEvent) => void; // global
|
|
460
|
+
onDragEnd?: (e: DragEvent) => void; // global
|
|
461
|
+
onDragStart?: (e: DragEvent) => void; // global
|
|
462
|
+
onDragEnter?: (e: DragEvent) => void; // global
|
|
463
|
+
onDragOver?: (e: DragEvent) => void; // global
|
|
464
|
+
onDragLeave?: (e: DragEvent) => void; // global
|
|
465
|
+
onDrop?: (e: DragEvent) => void; // global
|
|
466
|
+
onError?: (e: Event) => void; // loading elements.
|
|
467
|
+
onInvalid?: (e: Event) => void; // global
|
|
468
|
+
onMouseWheel?: (e: WheelEvent) => void; // global
|
|
469
|
+
onWheel?: (e: WheelEvent) => void; // global
|
|
477
470
|
|
|
478
471
|
// Configured.
|
|
479
|
-
onBlur
|
|
480
|
-
onChange
|
|
481
|
-
onClick
|
|
482
|
-
onDblClick
|
|
483
|
-
onFocus
|
|
484
|
-
onInput
|
|
485
|
-
onKeyDown
|
|
486
|
-
onKeyPress
|
|
487
|
-
onKeyUp
|
|
488
|
-
onLoad
|
|
489
|
-
onMouseDown
|
|
490
|
-
onMouseEnter
|
|
491
|
-
onMouseLeave
|
|
492
|
-
onMouseMove
|
|
493
|
-
onMouseOut
|
|
494
|
-
onMouseOver
|
|
495
|
-
onMouseUp
|
|
496
|
-
onPointerCancel
|
|
497
|
-
onPointerDown
|
|
498
|
-
onPointerEnter
|
|
499
|
-
onPointerLeave
|
|
500
|
-
onPointerMove
|
|
501
|
-
onPointerOut
|
|
502
|
-
onPointerOver
|
|
503
|
-
onPointerUp
|
|
504
|
-
|
|
505
|
-
onTouchMove
|
|
506
|
-
onTouchCancel
|
|
507
|
-
onTouchEnd
|
|
508
|
-
onTouchStart
|
|
509
|
-
|
|
510
|
-
onReset
|
|
511
|
-
onScroll
|
|
512
|
-
onSelect
|
|
513
|
-
onSubmit
|
|
514
|
-
onUnload
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
interface IDotGenericElement extends IDotAttrBuilder<IDotGenericElement>{}
|
|
472
|
+
onBlur?: (e: FocusEvent) => void;
|
|
473
|
+
onChange?: (e: Event) => void;
|
|
474
|
+
onClick?: (e: MouseEvent) => void;
|
|
475
|
+
onDblClick?: (e: MouseEvent) => void;
|
|
476
|
+
onFocus?: (e: FocusEvent) => void;
|
|
477
|
+
onInput?: (e: InputEvent) => void;
|
|
478
|
+
onKeyDown?: (e: KeyboardEvent) => void;
|
|
479
|
+
onKeyPress?: (e: KeyboardEvent) => void;
|
|
480
|
+
onKeyUp?: (e: KeyboardEvent) => void;
|
|
481
|
+
onLoad?: (e: Event) => void; // On specific resources only.
|
|
482
|
+
onMouseDown?: (e: MouseEvent) => void;
|
|
483
|
+
onMouseEnter?: (e: MouseEvent) => void;
|
|
484
|
+
onMouseLeave?: (e: MouseEvent) => void;
|
|
485
|
+
onMouseMove?: (e: MouseEvent) => void;
|
|
486
|
+
onMouseOut?: (e: MouseEvent) => void;
|
|
487
|
+
onMouseOver?: (e: MouseEvent) => void;
|
|
488
|
+
onMouseUp?: (e: MouseEvent) => void;
|
|
489
|
+
onPointerCancel?: (e: PointerEvent) => void;
|
|
490
|
+
onPointerDown?: (e: PointerEvent) => void;
|
|
491
|
+
onPointerEnter?: (e: PointerEvent) => void;
|
|
492
|
+
onPointerLeave?: (e: PointerEvent) => void;
|
|
493
|
+
onPointerMove?: (e: PointerEvent) => void;
|
|
494
|
+
onPointerOut?: (e: PointerEvent) => void;
|
|
495
|
+
onPointerOver?: (e: PointerEvent) => void;
|
|
496
|
+
onPointerUp?: (e: PointerEvent) => void;
|
|
497
|
+
|
|
498
|
+
onTouchMove?: (e: TouchEvent) => void;
|
|
499
|
+
onTouchCancel?: (e: TouchEvent) => void;
|
|
500
|
+
onTouchEnd?: (e: TouchEvent) => void;
|
|
501
|
+
onTouchStart?: (e: TouchEvent) => void;
|
|
502
|
+
|
|
503
|
+
onReset?: (e: Event) => void;
|
|
504
|
+
onScroll?: (e: UIEvent) => void;
|
|
505
|
+
onSelect?: (e: Event) => void;
|
|
506
|
+
onSubmit?: (e: Event) => void;
|
|
507
|
+
onUnload?: (e: Event) => void;
|
|
508
|
+
}
|
|
518
509
|
|
|
519
510
|
// Interface for specific elements:
|
|
520
511
|
|
|
521
|
-
interface IMountedComponent<T extends IComponent>{
|
|
522
|
-
on(event: string, callback: (...args: Array<any>)=>void): IMountedComponent<T>;
|
|
512
|
+
interface IMountedComponent<T extends IComponent> {
|
|
513
|
+
on(event: string, callback: (...args: Array<any>) => void): IMountedComponent<T>;
|
|
523
514
|
prop(name: string, value: any): IMountedComponent<T>;
|
|
524
515
|
}
|
|
525
516
|
|
|
526
|
-
interface IDotA extends IDotAttrBuilder
|
|
527
|
-
download
|
|
528
|
-
hRef
|
|
529
|
-
hRefLang
|
|
530
|
-
charset
|
|
531
|
-
coords
|
|
532
|
-
shape
|
|
533
|
-
media
|
|
534
|
-
ping
|
|
535
|
-
rel
|
|
536
|
-
/** @deprecated Deprecated in HTML5. */
|
|
537
|
-
rev(value: AttrVal<unknown>): IDotA;
|
|
538
|
-
name(value: AttrVal<string>): IDotA;
|
|
539
|
-
// rev(value: unknown): IDotA; // Not supported in HTML 5.
|
|
540
|
-
target(value: AttrVal<"_blank">|AttrVal<"_parent">|AttrVal<"_self">|AttrVal<"_top">): IDotA;
|
|
541
|
-
type(value: AttrVal<string>): IDotA;
|
|
542
|
-
}
|
|
543
|
-
interface IDotArea extends IDotAttrBuilder<IDotArea>{
|
|
544
|
-
alt(value: AttrVal<string>): IDotArea;
|
|
545
|
-
coords(value: AttrVal<string>): IDotArea;
|
|
546
|
-
download(value: AttrVal<string>): IDotArea;
|
|
547
|
-
hRef(value: AttrVal<string>): IDotArea;
|
|
548
|
-
hRefLang(value: AttrVal<string>): IDotArea;
|
|
549
|
-
media(value: AttrVal<string>): IDotArea;
|
|
517
|
+
interface IDotA extends IDotAttrBuilder {
|
|
518
|
+
download?: AttrVal<boolean>;
|
|
519
|
+
hRef?: AttrVal<string>;
|
|
520
|
+
hRefLang?: AttrVal<string>;
|
|
521
|
+
charset?: AttrVal<string>;
|
|
522
|
+
coords?: AttrVal<string>;
|
|
523
|
+
shape?: AttrVal<string>;
|
|
524
|
+
media?: AttrVal<string>;
|
|
525
|
+
ping?: AttrVal<string> | Array<AttrVal<string>> | AttrVal<Array<string>> | Record<string, AttrVal<string>>; // Space-separated. TODO: need tests.
|
|
526
|
+
rel?: AttrVal<string>;
|
|
550
527
|
/** @deprecated Deprecated in HTML5. */
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
interface
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
528
|
+
rev?: AttrVal<unknown>;
|
|
529
|
+
name?: AttrVal<string>;
|
|
530
|
+
target?: AttrVal<"_blank"> | AttrVal<"_parent"> | AttrVal<"_self"> | AttrVal<"_top">;
|
|
531
|
+
type?: AttrVal<string>;
|
|
532
|
+
}
|
|
533
|
+
interface IDotArea extends IDotAttrBuilder {
|
|
534
|
+
alt?: AttrVal<string>;
|
|
535
|
+
coords?: AttrVal<string>;
|
|
536
|
+
download?: AttrVal<string>;
|
|
537
|
+
hRef?: AttrVal<string>;
|
|
538
|
+
hRefLang?: AttrVal<string>;
|
|
539
|
+
media?: AttrVal<string>;
|
|
540
|
+
noHRef?: AttrVal<string>; // Deprecated in HTML5.
|
|
541
|
+
rel?: AttrVal<string>;
|
|
542
|
+
shape?: AttrVal<string>;
|
|
543
|
+
target?: AttrVal<string>;
|
|
544
|
+
}
|
|
545
|
+
interface IDotAudio extends IDotAttrBuilder {
|
|
546
|
+
autoPlay?: AttrVal<boolean>;
|
|
547
|
+
// buffered?: unknown; // Not used?
|
|
548
|
+
controls?: AttrVal<boolean>;
|
|
549
|
+
loop?: AttrVal<boolean>;
|
|
550
|
+
muted?: AttrVal<boolean>;
|
|
551
|
+
preload?: AttrVal<"auto"> | AttrVal<"metadata"> | AttrVal<"none">;
|
|
552
|
+
src?: AttrVal<string>;
|
|
553
|
+
crossOrigin?: AttrVal<"anonymous"> | AttrVal<"use-credentials">;
|
|
554
|
+
|
|
566
555
|
// Special functions:
|
|
567
556
|
// TODO: these need to be removed from here.
|
|
568
557
|
// pause(): IDotAudio;
|
|
@@ -570,398 +559,423 @@ interface IDotAudio extends IDotAttrBuilder<IDotAudio>{
|
|
|
570
559
|
// stop(): IDotAudio;
|
|
571
560
|
|
|
572
561
|
// Events:
|
|
573
|
-
onAbort
|
|
574
|
-
onCantPlayThrough
|
|
575
|
-
onDurationChange
|
|
576
|
-
onEmptied
|
|
577
|
-
onEnded
|
|
578
|
-
onLoadedData
|
|
579
|
-
onLoadStart
|
|
580
|
-
onLoadedMetadata
|
|
581
|
-
onPause
|
|
582
|
-
onPlay
|
|
583
|
-
onPlaying
|
|
584
|
-
onProgress
|
|
585
|
-
onRateChange
|
|
586
|
-
onSeeked
|
|
587
|
-
onSeeking
|
|
588
|
-
onStalled
|
|
589
|
-
onSuspend
|
|
590
|
-
onTimeUpdate
|
|
591
|
-
onVolumeChange
|
|
592
|
-
onWaiting
|
|
593
|
-
onCanPlay
|
|
594
|
-
}
|
|
595
|
-
interface IDotBlockQuote extends IDotAttrBuilder
|
|
596
|
-
quoteCite
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
align
|
|
601
|
-
|
|
602
|
-
background(value: unknown): IDotBody;
|
|
562
|
+
onAbort?: (e: Event) => void;
|
|
563
|
+
onCantPlayThrough?: (e: Event) => void;
|
|
564
|
+
onDurationChange?: (e: Event) => void;
|
|
565
|
+
onEmptied?: (e: Event) => void;
|
|
566
|
+
onEnded?: (e: Event) => void;
|
|
567
|
+
onLoadedData?: (e: Event) => void;
|
|
568
|
+
onLoadStart?: (e: Event) => void;
|
|
569
|
+
onLoadedMetadata?: (e: Event) => void;
|
|
570
|
+
onPause?: (e: Event) => void;
|
|
571
|
+
onPlay?: (e: Event) => void;
|
|
572
|
+
onPlaying?: (e: Event) => void;
|
|
573
|
+
onProgress?: (e: Event) => void;
|
|
574
|
+
onRateChange?: (e: Event) => void;
|
|
575
|
+
onSeeked?: (e: Event) => void;
|
|
576
|
+
onSeeking?: (e: Event) => void;
|
|
577
|
+
onStalled?: (e: Event) => void;
|
|
578
|
+
onSuspend?: (e: Event) => void;
|
|
579
|
+
onTimeUpdate?: (e: Event) => void;
|
|
580
|
+
onVolumeChange?: (e: Event) => void;
|
|
581
|
+
onWaiting?: (e: Event) => void;
|
|
582
|
+
onCanPlay?: (e: Event) => void;
|
|
583
|
+
}
|
|
584
|
+
interface IDotBlockQuote extends IDotAttrBuilder {
|
|
585
|
+
quoteCite?: AttrVal<string>; // alias for cite
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
interface IDotBody extends IDotAttrBuilder {
|
|
589
|
+
align?: unknown; // Deprecated in HTML5. Use CSS.
|
|
590
|
+
background?: unknown; // Deprecated in HTML5. Use CSS.
|
|
603
591
|
|
|
604
592
|
// Events
|
|
605
|
-
onHashChange
|
|
606
|
-
onOffline
|
|
607
|
-
onOnline
|
|
608
|
-
onPageHide
|
|
609
|
-
onPageShow
|
|
610
|
-
onPopState
|
|
611
|
-
onResize
|
|
612
|
-
onStorage
|
|
613
|
-
}
|
|
614
|
-
|
|
593
|
+
onHashChange?: (e: HashChangeEvent) => void;
|
|
594
|
+
onOffline?: (e: Event) => void;
|
|
595
|
+
onOnline?: (e: Event) => void;
|
|
596
|
+
onPageHide?: (e: PageTransitionEvent) => void;
|
|
597
|
+
onPageShow?: (e: PageTransitionEvent) => void;
|
|
598
|
+
onPopState?: (e: PopStateEvent) => void;
|
|
599
|
+
onResize?: (e: UIEvent) => void;
|
|
600
|
+
onStorage?: (e: StorageEvent) => void;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
interface IDotBr extends IDotAttrBuilder {
|
|
615
604
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
616
|
-
clear
|
|
617
|
-
}
|
|
618
|
-
interface IDotButton extends IDotAttrBuilder
|
|
619
|
-
autoFocus
|
|
620
|
-
formAction
|
|
621
|
-
disabled
|
|
622
|
-
name
|
|
623
|
-
type
|
|
624
|
-
whichForm
|
|
625
|
-
value
|
|
626
|
-
}
|
|
627
|
-
interface IDotCanvas extends IDotAttrBuilder
|
|
628
|
-
height
|
|
629
|
-
width
|
|
630
|
-
}
|
|
631
|
-
|
|
605
|
+
clear?: unknown;
|
|
606
|
+
}
|
|
607
|
+
interface IDotButton extends IDotAttrBuilder {
|
|
608
|
+
autoFocus?: AttrVal<boolean>;
|
|
609
|
+
formAction?: AttrVal<string>;
|
|
610
|
+
disabled?: AttrVal<boolean>;
|
|
611
|
+
name?: AttrVal<string>;
|
|
612
|
+
type?: AttrVal<"button"> | AttrVal<"submit"> | AttrVal<"reset">;
|
|
613
|
+
whichForm?: AttrVal<string>; // alias for form
|
|
614
|
+
value?: AttrVal<string>;
|
|
615
|
+
}
|
|
616
|
+
interface IDotCanvas extends IDotAttrBuilder {
|
|
617
|
+
height?: AttrVal<number>;
|
|
618
|
+
width?: AttrVal<number>;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
interface IDotCol extends IDotAttrBuilder {
|
|
632
622
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
633
|
-
charOff
|
|
634
|
-
colSpan
|
|
635
|
-
vAlign
|
|
623
|
+
charOff?: AttrVal<unknown>;
|
|
624
|
+
colSpan?: AttrVal<number>; // alias for span
|
|
625
|
+
vAlign?: AttrVal<number>;
|
|
636
626
|
}
|
|
637
|
-
|
|
627
|
+
|
|
628
|
+
interface IDotColGroup extends IDotAttrBuilder {
|
|
638
629
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
639
|
-
charOff
|
|
640
|
-
colSpan
|
|
630
|
+
charOff?: AttrVal<unknown>;
|
|
631
|
+
colSpan?: AttrVal<number>; // alias for span
|
|
641
632
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
642
|
-
vAlign
|
|
633
|
+
vAlign?: AttrVal<unknown>;
|
|
643
634
|
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
635
|
+
|
|
636
|
+
interface IDotDel extends IDotAttrBuilder {
|
|
637
|
+
dateTime?: AttrVal<string>; // Would be cool if this could accept dates and just format them internally...
|
|
638
|
+
quoteCite?: AttrVal<string>; // alias for cite
|
|
647
639
|
}
|
|
648
|
-
interface IDotDetails extends IDotAttrBuilder<IDotDetails>{
|
|
649
|
-
open(value: AttrVal<boolean>): IDotDetails;
|
|
650
640
|
|
|
641
|
+
interface IDotDetails extends IDotAttrBuilder {
|
|
642
|
+
open?: AttrVal<boolean>;
|
|
651
643
|
// Events:
|
|
652
|
-
onToggle (
|
|
653
|
-
}
|
|
654
|
-
interface IDotEmbed extends IDotAttrBuilder
|
|
655
|
-
height
|
|
656
|
-
src
|
|
657
|
-
type
|
|
658
|
-
width
|
|
659
|
-
}
|
|
660
|
-
interface IDotFieldSet extends IDotAttrBuilder
|
|
661
|
-
disabled
|
|
662
|
-
name
|
|
663
|
-
whichForm
|
|
664
|
-
}
|
|
665
|
-
interface IDotForm extends IDotAttrBuilder
|
|
666
|
-
acceptCharset
|
|
667
|
-
action
|
|
668
|
-
autoComplete
|
|
669
|
-
encType
|
|
670
|
-
method
|
|
671
|
-
name
|
|
672
|
-
noValidate
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
}
|
|
676
|
-
interface IDotHr extends IDotAttrBuilder
|
|
677
|
-
noShade
|
|
678
|
-
}
|
|
679
|
-
interface IDotIFrame extends IDotAttrBuilder
|
|
680
|
-
allow
|
|
681
|
-
allowFullScreen
|
|
644
|
+
onToggle?: (e: Event) => void;
|
|
645
|
+
}
|
|
646
|
+
interface IDotEmbed extends IDotAttrBuilder {
|
|
647
|
+
height?: AttrVal<number>;
|
|
648
|
+
src?: AttrVal<string>;
|
|
649
|
+
type?: AttrVal<string>;
|
|
650
|
+
width?: AttrVal<number>;
|
|
651
|
+
}
|
|
652
|
+
interface IDotFieldSet extends IDotAttrBuilder {
|
|
653
|
+
disabled?: AttrVal<boolean>;
|
|
654
|
+
name?: AttrVal<string>;
|
|
655
|
+
whichForm?: AttrVal<string>; // alias for form
|
|
656
|
+
}
|
|
657
|
+
interface IDotForm extends IDotAttrBuilder {
|
|
658
|
+
acceptCharset?: AttrVal<string>; // accept-charset, apparently the only hyphenated attribute (aside from data-*)...
|
|
659
|
+
action?: AttrVal<string>;
|
|
660
|
+
autoComplete?: AttrVal<"on"> | AttrVal<"off">;
|
|
661
|
+
encType?: AttrVal<"application/x-www-form-urlencoded"> | AttrVal<"multipart/form-data"> | AttrVal<"text/plain">;
|
|
662
|
+
method?: AttrVal<"get"> | AttrVal<"post">;
|
|
663
|
+
name?: AttrVal<string>;
|
|
664
|
+
noValidate?: AttrVal<boolean>;
|
|
665
|
+
target?: AttrVal<"_self"> | AttrVal<"_blank"> | AttrVal<"_parent"> | AttrVal<"_top">;
|
|
666
|
+
// rel?: PrimativeOrObservable<string> IDotForm; // Not used with forms?
|
|
667
|
+
}
|
|
668
|
+
interface IDotHr extends IDotAttrBuilder {
|
|
669
|
+
noShade?: AttrVal<unknown>;
|
|
670
|
+
}
|
|
671
|
+
interface IDotIFrame extends IDotAttrBuilder {
|
|
672
|
+
allow?: AttrVal<string>;
|
|
673
|
+
allowFullScreen?: AttrVal<boolean>;
|
|
682
674
|
/** @deprecated Deprecated in HTML5. */
|
|
683
|
-
frameBorder
|
|
684
|
-
height
|
|
675
|
+
frameBorder?: AttrVal<0> | AttrVal<1>;
|
|
676
|
+
height?: AttrVal<number>;
|
|
685
677
|
/** @deprecated Deprecated in HTML5. */
|
|
686
|
-
longDesc
|
|
687
|
-
marginHeight
|
|
688
|
-
marginWidth
|
|
689
|
-
name
|
|
690
|
-
referrerPolicy
|
|
691
|
-
sandbox
|
|
678
|
+
longDesc?: AttrVal<string>;
|
|
679
|
+
marginHeight?: AttrVal<number>;
|
|
680
|
+
marginWidth?: AttrVal<number>;
|
|
681
|
+
name?: AttrVal<string>;
|
|
682
|
+
referrerPolicy?: AttrVal<string>;
|
|
683
|
+
sandbox?: AttrVal<string>;
|
|
692
684
|
/** @deprecated Deprecated in HTML5. */
|
|
693
|
-
scrolling
|
|
694
|
-
seamless
|
|
695
|
-
src
|
|
696
|
-
srcDoc
|
|
697
|
-
width
|
|
698
|
-
}
|
|
699
|
-
interface IDotImg extends IDotAttrBuilder
|
|
700
|
-
alt
|
|
701
|
-
crossOrigin
|
|
702
|
-
decoding
|
|
703
|
-
height
|
|
704
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
705
|
-
hSpace
|
|
706
|
-
isMap
|
|
707
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
708
|
-
loading
|
|
709
|
-
longDesc
|
|
710
|
-
referrerPolicy
|
|
711
|
-
sizes
|
|
712
|
-
src
|
|
713
|
-
srcSet
|
|
714
|
-
useMap
|
|
715
|
-
width
|
|
716
|
-
}
|
|
717
|
-
interface IDotInput extends IDotAttrBuilder
|
|
718
|
-
accept
|
|
719
|
-
alt
|
|
720
|
-
autoCapitalize
|
|
721
|
-
autoComplete
|
|
722
|
-
autoFocus
|
|
723
|
-
checked
|
|
724
|
-
enterKeyHint
|
|
725
|
-
dirName
|
|
726
|
-
disabled
|
|
727
|
-
formAction
|
|
728
|
-
height
|
|
729
|
-
list
|
|
730
|
-
max
|
|
731
|
-
maxLength
|
|
732
|
-
min
|
|
733
|
-
multiple
|
|
734
|
-
name
|
|
735
|
-
pattern
|
|
736
|
-
placeholder
|
|
737
|
-
readOnly
|
|
738
|
-
required
|
|
739
|
-
size
|
|
740
|
-
src
|
|
741
|
-
step
|
|
742
|
-
type
|
|
743
|
-
whichForm
|
|
744
|
-
value
|
|
745
|
-
width
|
|
685
|
+
scrolling?: AttrVal<string>;
|
|
686
|
+
seamless?: AttrVal<boolean>;
|
|
687
|
+
src?: AttrVal<string>;
|
|
688
|
+
srcDoc?: AttrVal<string>;
|
|
689
|
+
width?: AttrVal<number>;
|
|
690
|
+
}
|
|
691
|
+
interface IDotImg extends IDotAttrBuilder {
|
|
692
|
+
alt?: AttrVal<string>;
|
|
693
|
+
crossOrigin?: AttrVal<"anonymous"> | AttrVal<"use-credentials">;
|
|
694
|
+
decoding?: AttrVal<"async"> | AttrVal<"auto"> | AttrVal<"sync">;
|
|
695
|
+
height?: AttrVal<number>;
|
|
696
|
+
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
697
|
+
hSpace?: AttrVal<unknown>;
|
|
698
|
+
isMap?: AttrVal<boolean>;
|
|
699
|
+
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
700
|
+
loading?: AttrVal<"eager"> | AttrVal<"lazy">;
|
|
701
|
+
longDesc?: AttrVal<string>;
|
|
702
|
+
referrerPolicy?: AttrVal<string>;
|
|
703
|
+
sizes?: AttrVal<string>;
|
|
704
|
+
src?: AttrVal<string>;
|
|
705
|
+
srcSet?: AttrVal<string>; // Comma separated. Consider accepting an array.
|
|
706
|
+
useMap?: AttrVal<number>;
|
|
707
|
+
width?: AttrVal<number>;
|
|
708
|
+
}
|
|
709
|
+
interface IDotInput extends IDotAttrBuilder {
|
|
710
|
+
accept?: AttrVal<string>;
|
|
711
|
+
alt?: AttrVal<string>;
|
|
712
|
+
autoCapitalize?: AttrVal<"none"> | AttrVal<"sentences"> | AttrVal<"words"> | AttrVal<"characters">;
|
|
713
|
+
autoComplete?: AttrVal<"on"> | AttrVal<"off">;
|
|
714
|
+
autoFocus?: AttrVal<boolean>;
|
|
715
|
+
checked?: AttrVal<boolean>;
|
|
716
|
+
enterKeyHint?: AttrVal<"enter"> | AttrVal<"done"> | AttrVal<"go"> | AttrVal<"next"> | AttrVal<"preveous"> | AttrVal<"search"> | AttrVal<"send">;
|
|
717
|
+
dirName?: AttrVal<string>;
|
|
718
|
+
disabled?: AttrVal<boolean>;
|
|
719
|
+
formAction?: AttrVal<string>;
|
|
720
|
+
height?: AttrVal<number>;
|
|
721
|
+
list?: AttrVal<string>;
|
|
722
|
+
max?: AttrVal<number>;
|
|
723
|
+
maxLength?: AttrVal<number>;
|
|
724
|
+
min?: AttrVal<number>;
|
|
725
|
+
multiple?: AttrVal<boolean>;
|
|
726
|
+
name?: AttrVal<string>;
|
|
727
|
+
pattern?: AttrVal<string>;
|
|
728
|
+
placeholder?: AttrVal<string>;
|
|
729
|
+
readOnly?: AttrVal<boolean>;
|
|
730
|
+
required?: AttrVal<boolean>;
|
|
731
|
+
size?: AttrVal<number>;
|
|
732
|
+
src?: AttrVal<string>;
|
|
733
|
+
step?: AttrVal<string> | AttrVal<number>;
|
|
734
|
+
type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
735
|
+
whichForm?: AttrVal<string>; // form
|
|
736
|
+
value?: AttrVal<string>;
|
|
737
|
+
width?: AttrVal<number>;
|
|
746
738
|
|
|
747
739
|
// Special functions:
|
|
748
740
|
// getVal(): string
|
|
749
741
|
// setVal(value: unknown): IDotInput;
|
|
750
742
|
|
|
751
743
|
// Input-specific events:
|
|
752
|
-
onSearch
|
|
753
|
-
}
|
|
754
|
-
interface IDotIns extends IDotAttrBuilder<IDotIns>{
|
|
755
|
-
dateTime(value: AttrVal<string>): IDotIns;
|
|
756
|
-
quoteCite(value: AttrVal<string>): IDotIns; // alias for cite
|
|
757
|
-
}
|
|
758
|
-
interface IDotKeyGen extends IDotAttrBuilder<IDotKeyGen>{
|
|
759
|
-
challenge(value: AttrVal<string>): IDotKeyGen;
|
|
760
|
-
keyType(value: AttrVal<string>): IDotKeyGen;
|
|
761
|
-
}
|
|
762
|
-
interface IDotLabel extends IDotAttrBuilder<IDotLabel>{
|
|
763
|
-
for(value: AttrVal<string>): IDotLabel;
|
|
764
|
-
}
|
|
765
|
-
interface IDotLi extends IDotAttrBuilder<IDotLi>{
|
|
766
|
-
value(value: AttrVal<number>): IDotLi;
|
|
767
|
-
}
|
|
768
|
-
interface IDotMap extends IDotAttrBuilder<IDotMap>{
|
|
769
|
-
name(value: AttrVal<string>): IDotMap;
|
|
770
|
-
}
|
|
771
|
-
interface IDotMenu extends IDotAttrBuilder<IDotMenu>{
|
|
772
|
-
type(value: AttrVal<string>): IDotMenu;
|
|
773
|
-
}
|
|
774
|
-
interface IDotMeter extends IDotAttrBuilder<IDotMeter>{
|
|
775
|
-
high(value: AttrVal<number>): IDotMeter;
|
|
776
|
-
low(value: AttrVal<number>): IDotMeter;
|
|
777
|
-
max(value: AttrVal<number>): IDotMeter;
|
|
778
|
-
min(value: AttrVal<number>): IDotMeter;
|
|
779
|
-
optimum(value: AttrVal<number>): IDotMeter;
|
|
780
|
-
value(value: AttrVal<number>): IDotMeter;
|
|
781
|
-
}
|
|
782
|
-
interface IDotObject extends IDotAttrBuilder<IDotObject>{
|
|
783
|
-
archive(value: AttrVal<string>): IDotObject;
|
|
784
|
-
classId(value: AttrVal<string>): IDotObject;
|
|
785
|
-
codeBase(value: AttrVal<string>): IDotObject;
|
|
786
|
-
codeType(value: AttrVal<string>): IDotObject;
|
|
787
|
-
objectData(value: AttrVal<string>): IDotObject; // alias for data
|
|
788
|
-
declare(value: AttrVal<boolean>): IDotObject;
|
|
789
|
-
height(value: AttrVal<number>): IDotObject;
|
|
790
|
-
name(value: AttrVal<string>): IDotObject;
|
|
791
|
-
standby(value: AttrVal<string>): IDotObject;
|
|
792
|
-
type(value: AttrVal<string>): IDotObject;
|
|
793
|
-
useMap(value: AttrVal<string>): IDotObject;
|
|
794
|
-
width(value: AttrVal<number>): IDotObject;
|
|
795
|
-
}
|
|
796
|
-
interface IDotOl extends IDotAttrBuilder<IDotOl>{
|
|
797
|
-
reversed(value: boolean): IDotOl;
|
|
798
|
-
start(value: number): IDotOl;
|
|
799
|
-
}
|
|
800
|
-
interface IDotOptGroup extends IDotAttrBuilder<IDotOptGroup>{
|
|
801
|
-
disabled(value: boolean): IDotOptGroup;
|
|
802
|
-
}
|
|
803
|
-
interface IDotOption extends IDotAttrBuilder<IDotOption>{
|
|
804
|
-
disabled(value: AttrVal<boolean>): IDotOption;
|
|
805
|
-
optionLabel(value: AttrVal<string>): IDotOption; // alias for label
|
|
806
|
-
selected(value: AttrVal<boolean>): IDotOption;
|
|
807
|
-
value(value: AttrVal<string>): IDotOption;
|
|
744
|
+
onSearch: (e: Event) => void;
|
|
745
|
+
}
|
|
808
746
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
//
|
|
747
|
+
interface IDotIns extends IDotAttrBuilder {
|
|
748
|
+
dateTime?: AttrVal<string>;
|
|
749
|
+
quoteCite?: AttrVal<string>; // Alias for cite.
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
interface IDotKeyGen extends IDotAttrBuilder {
|
|
753
|
+
challenge?: AttrVal<string>;
|
|
754
|
+
keyType?: AttrVal<string>;
|
|
812
755
|
}
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
whichForm(value: AttrVal<string>): IDotOutput; // alias for form
|
|
756
|
+
|
|
757
|
+
interface IDotLabel extends IDotAttrBuilder {
|
|
758
|
+
for?: AttrVal<string>;
|
|
817
759
|
}
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
value
|
|
760
|
+
|
|
761
|
+
interface IDotLi extends IDotAttrBuilder {
|
|
762
|
+
value?: AttrVal<number>;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
interface IDotMap extends IDotAttrBuilder {
|
|
766
|
+
name?: AttrVal<string>;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
interface IDotMenu extends IDotAttrBuilder {
|
|
770
|
+
type?: AttrVal<string>;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
interface IDotMeter extends IDotAttrBuilder {
|
|
774
|
+
high?: AttrVal<number>;
|
|
775
|
+
low?: AttrVal<number>;
|
|
776
|
+
max?: AttrVal<number>;
|
|
777
|
+
min?: AttrVal<number>;
|
|
778
|
+
optimum?: AttrVal<number>;
|
|
779
|
+
value?: AttrVal<number>;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
interface IDotObject extends IDotAttrBuilder {
|
|
783
|
+
archive?: AttrVal<string>;
|
|
784
|
+
classId?: AttrVal<string>;
|
|
785
|
+
codeBase?: AttrVal<string>;
|
|
786
|
+
codeType?: AttrVal<string>;
|
|
787
|
+
objectData?: AttrVal<string>; // Alias for data.
|
|
788
|
+
declare?: AttrVal<boolean>;
|
|
789
|
+
height?: AttrVal<number>;
|
|
790
|
+
name?: AttrVal<string>;
|
|
791
|
+
standby?: AttrVal<string>;
|
|
792
|
+
type?: AttrVal<string>;
|
|
793
|
+
useMap?: AttrVal<string>;
|
|
794
|
+
width?: AttrVal<number>;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
interface IDotOl extends IDotAttrBuilder {
|
|
798
|
+
/** @deprecated Deprecated in HTML5. */
|
|
799
|
+
reversed?: AttrVal<boolean>;
|
|
800
|
+
start?: AttrVal<number>;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
interface IDotOptGroup extends IDotAttrBuilder {
|
|
804
|
+
disabled?: AttrVal<boolean>;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
interface IDotOption extends IDotAttrBuilder {
|
|
808
|
+
disabled?: AttrVal<boolean>;
|
|
809
|
+
optionLabel?: AttrVal<string>; // Alias for label
|
|
810
|
+
selected?: AttrVal<boolean>;
|
|
811
|
+
value?: AttrVal<string>;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
interface IDotOutput extends IDotAttrBuilder {
|
|
815
|
+
for?: AttrVal<string>;
|
|
816
|
+
name?: AttrVal<string>;
|
|
817
|
+
whichForm?: AttrVal<string>; // Alias for form
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
interface IDotParam extends IDotAttrBuilder {
|
|
821
|
+
name?: AttrVal<string>;
|
|
822
|
+
value?: AttrVal<string>;
|
|
821
823
|
/** @deprecated Deprecated in HTML5. */
|
|
822
|
-
valueType
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
type
|
|
849
|
-
|
|
850
|
-
|
|
824
|
+
valueType?: AttrVal<unknown>;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
interface IDotProgress extends IDotAttrBuilder {
|
|
828
|
+
max?: AttrVal<number>;
|
|
829
|
+
value?: AttrVal<number>;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
interface IDotQ extends IDotAttrBuilder {
|
|
833
|
+
quoteCite?: AttrVal<string>; // alias for cite
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
interface IDotSelect extends IDotAttrBuilder {
|
|
837
|
+
autoFocus?: AttrVal<boolean>;
|
|
838
|
+
disabled?: AttrVal<boolean>;
|
|
839
|
+
multiple?: AttrVal<boolean>;
|
|
840
|
+
name?: AttrVal<string>;
|
|
841
|
+
required?: AttrVal<boolean>;
|
|
842
|
+
size?: AttrVal<number>;
|
|
843
|
+
whichForm?: AttrVal<string>; // alias for form
|
|
844
|
+
value?: AttrVal<string>; // Pseudo attribute for convenience.
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
interface IDotSource extends IDotAttrBuilder {
|
|
848
|
+
media?: AttrVal<string>;
|
|
849
|
+
src?: AttrVal<string>;
|
|
850
|
+
type?: AttrVal<string>;
|
|
851
|
+
sizes?: AttrVal<string>;
|
|
852
|
+
srcSet?: AttrVal<string>;
|
|
853
|
+
}
|
|
854
|
+
interface IDotTable extends IDotAttrBuilder {
|
|
851
855
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
852
|
-
border
|
|
856
|
+
border?: AttrVal<string> | AttrVal<number>;
|
|
853
857
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
854
|
-
cellPadding
|
|
858
|
+
cellPadding?: AttrVal<string> | AttrVal<number>;
|
|
855
859
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
856
|
-
cellSpacing
|
|
860
|
+
cellSpacing?: AttrVal<string> | AttrVal<number>;
|
|
857
861
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
858
|
-
frame
|
|
862
|
+
frame?: AttrVal<string> | AttrVal<number>;
|
|
859
863
|
/** @deprecated Deprecated in HTML5. */
|
|
860
|
-
height
|
|
864
|
+
height?: AttrVal<number>;
|
|
861
865
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
862
|
-
rules
|
|
866
|
+
rules?: AttrVal<string>;
|
|
863
867
|
/** @deprecated Deprecated in HTML5. */
|
|
864
|
-
tableSummary
|
|
868
|
+
tableSummary?: AttrVal<string>;
|
|
865
869
|
/** @deprecated Deprecated in HTML5. */
|
|
866
|
-
width
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
870
|
+
width?: AttrVal<number>;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
interface IDotTextArea extends IDotAttrBuilder {
|
|
874
|
+
autoCapitalize?: AttrVal<"none"> | AttrVal<"sentences"> | AttrVal<"words"> | AttrVal<"characters">;
|
|
875
|
+
autoFocus?: AttrVal<boolean>;
|
|
876
|
+
cols?: AttrVal<number>;
|
|
877
|
+
dirName?: AttrVal<string>;
|
|
878
|
+
disabled?: AttrVal<boolean>;
|
|
879
|
+
enterKeyHint?: AttrVal<"enter"> | AttrVal<"done"> | AttrVal<"go"> | AttrVal<"next"> | AttrVal<"preveous"> | AttrVal<"search"> | AttrVal<"send">;
|
|
880
|
+
maxLength?: AttrVal<number>;
|
|
881
|
+
name?: AttrVal<string>;
|
|
882
|
+
placeholder?: AttrVal<string>;
|
|
883
|
+
readOnly?: AttrVal<boolean>;
|
|
884
|
+
required?: AttrVal<boolean>;
|
|
885
|
+
rows?: AttrVal<number>;
|
|
886
|
+
whichForm?: AttrVal<string>; // alias for form
|
|
887
|
+
wrap?: AttrVal<string>;
|
|
888
|
+
value?: AttrVal<string>; // Pseudo attribute for convenience.
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
interface IDotTBody extends IDotAttrBuilder {
|
|
886
892
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
887
|
-
charOff
|
|
893
|
+
charOff?: AttrVal<unknown>;
|
|
888
894
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
889
|
-
vAlign
|
|
895
|
+
vAlign?: AttrVal<unknown>;
|
|
890
896
|
}
|
|
891
|
-
|
|
892
|
-
|
|
897
|
+
|
|
898
|
+
interface IDotTd extends IDotAttrBuilder {
|
|
899
|
+
|
|
893
900
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
894
|
-
axis
|
|
901
|
+
axis?: AttrVal<string>;
|
|
895
902
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
896
|
-
char
|
|
897
|
-
colSpan
|
|
903
|
+
char?: AttrVal<string>;
|
|
904
|
+
colSpan?: AttrVal<number>;
|
|
898
905
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
899
|
-
charOff
|
|
900
|
-
headers
|
|
906
|
+
charOff?: AttrVal<string>;
|
|
907
|
+
headers?: AttrVal<string>;
|
|
901
908
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
902
|
-
noWrap
|
|
903
|
-
rowSpan
|
|
904
|
-
scope
|
|
909
|
+
noWrap?: AttrVal<boolean>;
|
|
910
|
+
rowSpan?: AttrVal<number>;
|
|
911
|
+
scope?: AttrVal<string>;
|
|
905
912
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
906
|
-
vAlign
|
|
913
|
+
vAlign?: AttrVal<string>;
|
|
907
914
|
}
|
|
908
|
-
|
|
915
|
+
|
|
916
|
+
interface IDotTFoot extends IDotAttrBuilder {
|
|
909
917
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
910
|
-
charOff
|
|
918
|
+
charOff?: AttrVal<number>;
|
|
911
919
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
912
|
-
vAlign
|
|
920
|
+
vAlign?: AttrVal<string>;
|
|
913
921
|
}
|
|
914
|
-
|
|
915
|
-
|
|
922
|
+
|
|
923
|
+
interface IDotTime extends IDotAttrBuilder {
|
|
924
|
+
dateTime?: AttrVal<string>;
|
|
916
925
|
}
|
|
917
|
-
|
|
926
|
+
|
|
927
|
+
interface IDotTh extends IDotAttrBuilder {
|
|
918
928
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
919
|
-
axis
|
|
920
|
-
colSpan
|
|
929
|
+
axis?: AttrVal<string>;
|
|
930
|
+
colSpan?: AttrVal<number>;
|
|
921
931
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
922
|
-
charOff
|
|
923
|
-
headers
|
|
924
|
-
rowSpan
|
|
925
|
-
scope
|
|
932
|
+
charOff?: AttrVal<string>;
|
|
933
|
+
headers?: AttrVal<string>;
|
|
934
|
+
rowSpan?: AttrVal<number>;
|
|
935
|
+
scope?: AttrVal<string>;
|
|
926
936
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
927
|
-
vAlign
|
|
937
|
+
vAlign?: AttrVal<string>;
|
|
928
938
|
}
|
|
929
|
-
|
|
939
|
+
|
|
940
|
+
interface IDotTHead extends IDotAttrBuilder {
|
|
930
941
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
931
|
-
charOff
|
|
942
|
+
charOff?: AttrVal<string> | AttrVal<number>;
|
|
932
943
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
933
|
-
vAlign
|
|
944
|
+
vAlign?: AttrVal<string>;
|
|
934
945
|
}
|
|
935
|
-
|
|
946
|
+
|
|
947
|
+
interface IDotTr extends IDotAttrBuilder {
|
|
936
948
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
937
|
-
charOff
|
|
949
|
+
charOff?: AttrVal<string> | AttrVal<number>;
|
|
938
950
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
939
|
-
vAlign
|
|
951
|
+
vAlign?: AttrVal<string>;
|
|
940
952
|
}
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
953
|
+
|
|
954
|
+
interface IDotTrack extends IDotAttrBuilder {
|
|
955
|
+
default?: AttrVal<boolean>;
|
|
956
|
+
kind?: AttrVal<string>;
|
|
957
|
+
src?: AttrVal<string>;
|
|
958
|
+
srcLang?: AttrVal<string>;
|
|
959
|
+
trackLabel?: AttrVal<string>; // alias for label
|
|
947
960
|
|
|
948
961
|
// Events:
|
|
949
|
-
onCueChange
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
962
|
+
onCueChange?: (e: Event) => void;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
interface IDotVideo extends IDotAttrBuilder {
|
|
966
|
+
autoPlay?: AttrVal<boolean>;
|
|
967
|
+
buffered?: IReactive<unknown>; // Managed by browser not user. TODO: we can possibly use events to update observable objects.
|
|
968
|
+
controls?: AttrVal<boolean>;
|
|
969
|
+
crossOrigin?: AttrVal<"anonymous"> | AttrVal<"use-credentials">;
|
|
970
|
+
height?: AttrVal<number>;
|
|
971
|
+
loop?: AttrVal<boolean>;
|
|
972
|
+
muted?: AttrVal<boolean>;
|
|
973
|
+
playsInline?: AttrVal<boolean>;
|
|
974
|
+
poster?: AttrVal<string>;
|
|
975
|
+
preload?: AttrVal<"none"> | AttrVal<"metadata"> | AttrVal<"auto">;
|
|
976
|
+
src?: AttrVal<string>;
|
|
977
|
+
width?: AttrVal<number>;
|
|
978
|
+
|
|
965
979
|
// Special functions:
|
|
966
980
|
// TODO:
|
|
967
981
|
// pause(): IDotVideo;
|
|
@@ -969,25 +983,25 @@ interface IDotVideo extends IDotAttrBuilder<IDotVideo>{
|
|
|
969
983
|
// stop(): IDotVideo;
|
|
970
984
|
|
|
971
985
|
// Events:
|
|
972
|
-
onAbort
|
|
973
|
-
onCantPlayThrough
|
|
974
|
-
onDurationChange
|
|
975
|
-
onEmptied
|
|
976
|
-
onEnded
|
|
977
|
-
onLoadedData
|
|
978
|
-
onLoadStart
|
|
979
|
-
onLoadedMetadata
|
|
980
|
-
onPause
|
|
981
|
-
onPlay
|
|
982
|
-
onPlaying
|
|
983
|
-
onProgress
|
|
984
|
-
onRateChange
|
|
985
|
-
onSeeked
|
|
986
|
-
onSeeking
|
|
987
|
-
onStalled
|
|
988
|
-
onSuspend
|
|
989
|
-
onTimeUpdate
|
|
990
|
-
onVolumeChange
|
|
991
|
-
onWaiting
|
|
992
|
-
onCanPlay
|
|
993
|
-
}
|
|
986
|
+
onAbort?: (e: Event) => void;
|
|
987
|
+
onCantPlayThrough?: (e: Event) => void;
|
|
988
|
+
onDurationChange?: (e: Event) => void;
|
|
989
|
+
onEmptied?: (e: Event) => void;
|
|
990
|
+
onEnded?: (e: Event) => void;
|
|
991
|
+
onLoadedData?: (e: Event) => void;
|
|
992
|
+
onLoadStart?: (e: Event) => void;
|
|
993
|
+
onLoadedMetadata?: (e: Event) => void;
|
|
994
|
+
onPause?: (e: Event) => void;
|
|
995
|
+
onPlay?: (e: Event) => void;
|
|
996
|
+
onPlaying?: (e: Event) => void;
|
|
997
|
+
onProgress?: (e: Event) => void;
|
|
998
|
+
onRateChange?: (e: Event) => void;
|
|
999
|
+
onSeeked?: (e: Event) => void;
|
|
1000
|
+
onSeeking?: (e: Event) => void;
|
|
1001
|
+
onStalled?: (e: Event) => void;
|
|
1002
|
+
onSuspend?: (e: Event) => void;
|
|
1003
|
+
onTimeUpdate?: (e: Event) => void;
|
|
1004
|
+
onVolumeChange?: (e: Event) => void;
|
|
1005
|
+
onWaiting?: (e: Event) => void;
|
|
1006
|
+
onCanPlay?: (e: Event) => void;
|
|
1007
|
+
}
|