dothtml-interfaces 0.1.21 → 0.1.23
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-dot.d.ts +286 -265
- package/src/{i-observable.d.ts → i-reactive.d.ts} +1 -1
- package/src/index.d.ts +1 -1
package/package.json
CHANGED
package/src/i-dot.d.ts
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import IComponent, { FrameworkItems } from "./i-component";
|
|
3
3
|
import IDotCss, { IDotcssProp } from "./i-dot-css";
|
|
4
4
|
import IEventBus from "./i-event-bus";
|
|
5
|
-
import
|
|
5
|
+
import IReactive from "./i-reactive";
|
|
6
6
|
|
|
7
7
|
type DotContentPrimitive = string|number|boolean;
|
|
8
8
|
type DotContentBasic = DotContentPrimitive|Node|Element|NodeList|IComponent|IDotDocument//typeof DotDocument;
|
|
9
|
-
export type DotContent = DotContentBasic|Array<DotContent>|
|
|
9
|
+
export type DotContent = DotContentBasic|Array<DotContent>|IReactive;//|(()=>DotContent);
|
|
10
10
|
|
|
11
|
-
type
|
|
11
|
+
type AttrVal<T = string|number|boolean> = T|IReactive<T>;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Global interface containing elements.
|
|
@@ -24,7 +24,7 @@ export interface IDotDocument
|
|
|
24
24
|
/**
|
|
25
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.
|
|
26
26
|
*/
|
|
27
|
-
when(condition:
|
|
27
|
+
when(condition:IReactive|boolean, DotContent): IDotConditionalDocument;
|
|
28
28
|
|
|
29
29
|
// Main functions.
|
|
30
30
|
// TODO: please make this into a test case.
|
|
@@ -45,11 +45,11 @@ export interface IDotDocument
|
|
|
45
45
|
/**
|
|
46
46
|
* Creates a generic HTML node that can render a string, HTML nodes, or dotHTML content.
|
|
47
47
|
*/
|
|
48
|
-
html(content: string|number|boolean|
|
|
48
|
+
html(content: string|number|boolean|IReactive): IDotDocument;
|
|
49
49
|
/**
|
|
50
50
|
* Creates a text node that will render as a string, rather than being parsed as markup.
|
|
51
51
|
*/
|
|
52
|
-
text(content: string|number|boolean|
|
|
52
|
+
text(content: string|number|boolean|IReactive): IDotDocument;
|
|
53
53
|
/**
|
|
54
54
|
* Mounts a component.
|
|
55
55
|
*/
|
|
@@ -61,7 +61,7 @@ export interface IDotDocument
|
|
|
61
61
|
*/
|
|
62
62
|
iterate(n: number, callback: (i: number)=>DotContent): IDotDocument;
|
|
63
63
|
each<T>(a: Array<T>|{[key: string|number]: T}, callback: (x: T, i: number, k: string|number)=>DotContent): IDotDocument;
|
|
64
|
-
each<T>(a:
|
|
64
|
+
each<T>(a: IReactive<any, Array<T>|{[key: string|number]: T}>, callback: (x: T, i: IReactive<number>, k: string|number)=>DotContent): IDotDocument;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Removes the targeted document and everything in it.
|
|
@@ -239,7 +239,7 @@ export interface IDotCore extends IDotDocument
|
|
|
239
239
|
bus: IEventBus;
|
|
240
240
|
window: IDotWindowBuilder;
|
|
241
241
|
|
|
242
|
-
|
|
242
|
+
watch<Ti = IReactive|Array<any>|{[key: string|number]: any}|string|number|boolean, To = Ti>(props?: {value: Ti, key?: string, transformer?: (value: Ti)=>To}): IReactive<Ti, To>;
|
|
243
243
|
|
|
244
244
|
component<T extends IComponent>(ComponentClass: new(...args: any[])=>T): (new(...args: any[])=>(T&{readonly $:FrameworkItems}));
|
|
245
245
|
}
|
|
@@ -253,7 +253,7 @@ export interface IDotConditionalDocument extends IDotDocument{
|
|
|
253
253
|
* A conditional catch, analogous to else if. Can be used after a when function. Evaluates if the previous when's condition was false.
|
|
254
254
|
* Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
|
|
255
255
|
*/
|
|
256
|
-
otherwiseWhen(condition:
|
|
256
|
+
otherwiseWhen(condition:IReactive|boolean, callback: DotContent): IDotConditionalDocument;
|
|
257
257
|
/**
|
|
258
258
|
* 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.
|
|
259
259
|
* Renders the specified DOT if a condition is met. Dynamic binding is possible when callback is a function.
|
|
@@ -285,34 +285,51 @@ export interface IDotElementDocument<T extends IDotDocument> extends IDotDocumen
|
|
|
285
285
|
*/
|
|
286
286
|
ref(name: string, index?:number): T;
|
|
287
287
|
|
|
288
|
-
// TODO: move to specific elements.
|
|
289
288
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
290
|
-
bgColor(value:
|
|
289
|
+
bgColor(value: AttrVal<unknown>): T;
|
|
291
290
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
292
|
-
color(value:
|
|
291
|
+
color(value: AttrVal<unknown>): T;
|
|
293
292
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
294
|
-
aLink(value:
|
|
293
|
+
aLink(value: AttrVal<unknown>): T;
|
|
295
294
|
/** @deprecated Deprecated in HTML5. */
|
|
296
|
-
archive(value:
|
|
297
|
-
// Only add this if we decide to add the search element.
|
|
298
|
-
// /** @deprecated Non-standard attribute. */
|
|
299
|
-
// autoSave(value: unknown): IDotMajor;
|
|
295
|
+
archive(value: AttrVal<unknown>): T;
|
|
300
296
|
|
|
301
297
|
// TODO: we're still missing some additional global attributes. See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/
|
|
302
|
-
|
|
298
|
+
areaHidden(value: AttrVal<boolean>): T;
|
|
299
|
+
areaLabel(value: AttrVal<string>): T;
|
|
300
|
+
areaDescribedBy(value: AttrVal<string>): T;
|
|
301
|
+
areaControls(value: AttrVal<string>): T;
|
|
302
|
+
areaExpanded(value: AttrVal<boolean>): T;
|
|
303
|
+
areaChecked(value: AttrVal<string>): T;
|
|
304
|
+
areaSelected(value: AttrVal<boolean>): T;
|
|
305
|
+
accessKey(value: AttrVal<string>): T; // This could potentially be enumerated. But care should be taken as these types are already quite complex.
|
|
303
306
|
class(value: unknown): T; // TODO: need a better way of setting classes.
|
|
304
|
-
contentEditable(value:
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
contentEditable(value: AttrVal<"true">|AttrVal<"false">|AttrVal<"plaintext-only">): T;
|
|
308
|
+
contextMenu(value: AttrVal<string>): T;
|
|
309
|
+
dir(value: AttrVal<string>): T;
|
|
310
|
+
draggable(value: AttrVal<"true">|AttrVal<"false">): T;
|
|
311
|
+
dropZone(value: AttrVal<"move">|AttrVal<"copy">|AttrVal<"link">): T;
|
|
312
|
+
exportParts(value: AttrVal<string>): T;
|
|
313
|
+
hidden(value: AttrVal<boolean>): T;
|
|
309
314
|
id(value: string): T;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
315
|
+
inert(value: AttrVal<boolean>): T;
|
|
316
|
+
inputMode(value: AttrVal<string>): T;
|
|
317
|
+
is(value: AttrVal<string>): T;
|
|
318
|
+
itemId(value: AttrVal<string>): T;
|
|
319
|
+
itemProp(value: AttrVal<string>): T;
|
|
320
|
+
itemRef(value: AttrVal<string>): T;
|
|
321
|
+
itemScope(value: AttrVal<string>): T;
|
|
322
|
+
itemType(value: AttrVal<string>): T;
|
|
323
|
+
lang(value: AttrVal<string>): T;
|
|
324
|
+
nOnce(value: AttrVal<string>): T;
|
|
325
|
+
part(value: AttrVal<string>): T;
|
|
326
|
+
role(value: AttrVal<string>): T;
|
|
327
|
+
spellCheck(value: AttrVal<"true">|AttrVal<"false">): T;
|
|
313
328
|
style(value: string|IDotcssProp): T;
|
|
314
|
-
tabIndex(value:
|
|
315
|
-
title(value:
|
|
329
|
+
tabIndex(value: AttrVal<number>): T;
|
|
330
|
+
title(value: AttrVal<string>): T;
|
|
331
|
+
translate(value: AttrVal<string>): T;
|
|
332
|
+
virtualKeyboardPolicy(value: AttrVal<"auto">|AttrVal<"manual">): T;
|
|
316
333
|
|
|
317
334
|
// Events
|
|
318
335
|
|
|
@@ -382,44 +399,44 @@ interface IMountedComponent extends IDotDocument{
|
|
|
382
399
|
}
|
|
383
400
|
|
|
384
401
|
interface IDotA extends IDotElementDocument<IDotA>{
|
|
385
|
-
download(value:
|
|
386
|
-
hRef(value:
|
|
387
|
-
hRefLang(value:
|
|
388
|
-
charset(value:
|
|
389
|
-
coords(value:
|
|
390
|
-
shape(value:
|
|
391
|
-
media(value:
|
|
392
|
-
ping(value:
|
|
393
|
-
rel(value:
|
|
402
|
+
download(value: AttrVal<boolean>): IDotA;
|
|
403
|
+
hRef(value: AttrVal<string>): IDotA;
|
|
404
|
+
hRefLang(value: AttrVal<string>): IDotA;
|
|
405
|
+
charset(value: AttrVal<string>): IDotA;
|
|
406
|
+
coords(value: AttrVal<string>): IDotA;
|
|
407
|
+
shape(value: AttrVal<string>): IDotA;
|
|
408
|
+
media(value: AttrVal<string>): IDotA;
|
|
409
|
+
ping(value: AttrVal<string>): IDotA; // Space separated. Consider an array. Or do what we're doing for class.
|
|
410
|
+
rel(value: AttrVal<string>): IDotA;
|
|
394
411
|
/** @deprecated Deprecated in HTML5. */
|
|
395
|
-
rev(value:
|
|
396
|
-
name(value:
|
|
412
|
+
rev(value: AttrVal<unknown>): IDotA;
|
|
413
|
+
name(value: AttrVal<string>): IDotA;
|
|
397
414
|
// rev(value: unknown): IDotA; // Not supported in HTML 5.
|
|
398
|
-
target(value:
|
|
399
|
-
type(value:
|
|
415
|
+
target(value: AttrVal<"_blank">|AttrVal<"_parent">|AttrVal<"_self">|AttrVal<"_top">): IDotA;
|
|
416
|
+
type(value: AttrVal<string>): IDotA;
|
|
400
417
|
}
|
|
401
418
|
interface IDotArea extends IDotElementDocument<IDotArea>{
|
|
402
|
-
alt(value:
|
|
403
|
-
coords(value:
|
|
404
|
-
download(value:
|
|
405
|
-
hRef(value:
|
|
406
|
-
hRefLang(value:
|
|
407
|
-
media(value:
|
|
419
|
+
alt(value: AttrVal<string>): IDotArea;
|
|
420
|
+
coords(value: AttrVal<string>): IDotArea;
|
|
421
|
+
download(value: AttrVal<string>): IDotArea;
|
|
422
|
+
hRef(value: AttrVal<string>): IDotArea;
|
|
423
|
+
hRefLang(value: AttrVal<string>): IDotArea;
|
|
424
|
+
media(value: AttrVal<string>): IDotArea;
|
|
408
425
|
/** @deprecated Deprecated in HTML5. */
|
|
409
|
-
noHRef(value:
|
|
410
|
-
rel(value:
|
|
411
|
-
shape(value:
|
|
412
|
-
target(value:
|
|
426
|
+
noHRef(value: AttrVal<string>): IDotArea;
|
|
427
|
+
rel(value: AttrVal<string>): IDotArea;
|
|
428
|
+
shape(value: AttrVal<string>): IDotArea;
|
|
429
|
+
target(value: AttrVal<string>): IDotArea;
|
|
413
430
|
}
|
|
414
431
|
interface IDotAudio extends IDotElementDocument<IDotAudio>{
|
|
415
|
-
autoPlay(value:
|
|
432
|
+
autoPlay(value: AttrVal<boolean>): IDotAudio;
|
|
416
433
|
// buffered(value: unknown): IDotAudio; // Not used?
|
|
417
|
-
controls(value:
|
|
418
|
-
loop(value:
|
|
419
|
-
muted(value:
|
|
420
|
-
preload(value:
|
|
421
|
-
src(value:
|
|
422
|
-
crossOrigin(value:
|
|
434
|
+
controls(value: AttrVal<boolean>): IDotAudio;
|
|
435
|
+
loop(value: AttrVal<boolean>): IDotAudio;
|
|
436
|
+
muted(value: AttrVal<boolean>): IDotAudio;
|
|
437
|
+
preload(value: AttrVal<"auto">|AttrVal<"metadata">|AttrVal<"none">): IDotAudio;
|
|
438
|
+
src(value: AttrVal<string>): IDotAudio;
|
|
439
|
+
crossOrigin(value: AttrVal<"anonymous">|AttrVal<"use-credentials">): IDotAudio;
|
|
423
440
|
|
|
424
441
|
// Special functions:
|
|
425
442
|
pause(): IDotAudio;
|
|
@@ -450,7 +467,7 @@ interface IDotAudio extends IDotElementDocument<IDotAudio>{
|
|
|
450
467
|
onCanPlay(callback: (e: Event)=>void): IDotAudio;
|
|
451
468
|
}
|
|
452
469
|
interface IDotBlockQuote extends IDotElementDocument<IDotBlockQuote>{
|
|
453
|
-
quoteCite(value:
|
|
470
|
+
quoteCite(value: AttrVal<string>): IDotBlockQuote; // alias for cite
|
|
454
471
|
}
|
|
455
472
|
interface IDotBody extends IDotElementDocument<IDotBody>{
|
|
456
473
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
@@ -473,131 +490,133 @@ interface IDotBr extends IDotElementDocument<IDotBr>{
|
|
|
473
490
|
clear(value: unknown): IDotBr;
|
|
474
491
|
}
|
|
475
492
|
interface IDotButton extends IDotElementDocument<IDotButton>{
|
|
476
|
-
autoFocus(value:
|
|
477
|
-
formAction(value:
|
|
478
|
-
disabled(value?:
|
|
479
|
-
name(value:
|
|
480
|
-
type(value:
|
|
481
|
-
whichForm(value:
|
|
482
|
-
value(value:
|
|
493
|
+
autoFocus(value: AttrVal<boolean>): IDotButton;
|
|
494
|
+
formAction(value: AttrVal<string>): IDotButton;
|
|
495
|
+
disabled(value?: AttrVal<boolean>): IDotButton;
|
|
496
|
+
name(value: AttrVal<string>): IDotButton;
|
|
497
|
+
type(value: AttrVal<"button">|AttrVal<"submit">|AttrVal<"reset">): IDotButton;
|
|
498
|
+
whichForm(value: AttrVal<string>): IDotButton; // alias for form
|
|
499
|
+
value(value: AttrVal<string>): IDotButton;
|
|
483
500
|
}
|
|
484
501
|
interface IDotCanvas extends IDotElementDocument<IDotCanvas>{
|
|
485
|
-
height(value:
|
|
486
|
-
width(value:
|
|
502
|
+
height(value: AttrVal<number>): IDotCanvas;
|
|
503
|
+
width(value: AttrVal<number>): IDotCanvas;
|
|
487
504
|
}
|
|
488
505
|
interface IDotCol extends IDotElementDocument<IDotCol>{
|
|
489
506
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
490
|
-
charOff(value:
|
|
491
|
-
colSpan(value:
|
|
492
|
-
vAlign(value:
|
|
507
|
+
charOff(value: AttrVal<unknown>): IDotCol;
|
|
508
|
+
colSpan(value: AttrVal<number>): IDotCol; // alias for span
|
|
509
|
+
vAlign(value: AttrVal<number>): IDotCol;
|
|
493
510
|
}
|
|
494
511
|
interface IDotColGroup extends IDotElementDocument<IDotColGroup>{
|
|
495
512
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
496
|
-
charOff(value:
|
|
497
|
-
colSpan(value:
|
|
513
|
+
charOff(value: AttrVal<unknown>): IDotColGroup;
|
|
514
|
+
colSpan(value: AttrVal<number>): IDotColGroup; // alias for span
|
|
498
515
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
499
|
-
vAlign(value:
|
|
516
|
+
vAlign(value: AttrVal<unknown>): IDotColGroup;
|
|
500
517
|
}
|
|
501
518
|
interface IDotDel extends IDotElementDocument<IDotDel>{
|
|
502
|
-
dateTime(value:
|
|
503
|
-
quoteCite(value:
|
|
519
|
+
dateTime(value: AttrVal<string>): IDotDel; // Would be cool if this could accept dates and just format them internally...
|
|
520
|
+
quoteCite(value: AttrVal<string>): IDotDel; // alias for cite
|
|
504
521
|
}
|
|
505
522
|
interface IDotDetails extends IDotElementDocument<IDotDetails>{
|
|
506
|
-
open(value:
|
|
523
|
+
open(value: AttrVal<boolean>): IDotDetails;
|
|
507
524
|
|
|
508
525
|
// Events:
|
|
509
526
|
onToggle (callback: (e: Event)=>void): IDotDetails;
|
|
510
527
|
}
|
|
511
528
|
interface IDotEmbed extends IDotElementDocument<IDotEmbed>{
|
|
512
|
-
height(value:
|
|
513
|
-
src(value:
|
|
514
|
-
type(value:
|
|
515
|
-
width(value:
|
|
529
|
+
height(value: AttrVal<number>): IDotEmbed;
|
|
530
|
+
src(value: AttrVal<string>): IDotEmbed;
|
|
531
|
+
type(value: AttrVal<string>): IDotEmbed;
|
|
532
|
+
width(value: AttrVal<number>): IDotEmbed;
|
|
516
533
|
}
|
|
517
534
|
interface IDotFieldSet extends IDotElementDocument<IDotFieldSet>{
|
|
518
|
-
disabled(value:
|
|
519
|
-
name(value:
|
|
520
|
-
whichForm(value:
|
|
535
|
+
disabled(value: AttrVal<boolean>): IDotFieldSet;
|
|
536
|
+
name(value: AttrVal<string>): IDotFieldSet;
|
|
537
|
+
whichForm(value: AttrVal<string>): IDotFieldSet; // alias for form
|
|
521
538
|
}
|
|
522
539
|
interface IDotForm extends IDotElementDocument<IDotForm>{
|
|
523
|
-
acceptCharset(value:
|
|
524
|
-
action(value:
|
|
525
|
-
autoComplete(value:
|
|
526
|
-
encType(value:
|
|
527
|
-
method(value:
|
|
528
|
-
name(value:
|
|
529
|
-
noValidate(value:
|
|
540
|
+
acceptCharset(value: AttrVal<string>): IDotForm; // accept-charset, apparently the only hyphenated attribute (aside from data-*)...
|
|
541
|
+
action(value: AttrVal<string>): IDotForm;
|
|
542
|
+
autoComplete(value: AttrVal<"on">|AttrVal<"off">): IDotForm;
|
|
543
|
+
encType(value: AttrVal<"application/x-www-form-urlencoded">|AttrVal<"multipart/form-data">|AttrVal<"text/plain">): IDotForm;
|
|
544
|
+
method(value: AttrVal<"get">|AttrVal<"post">): IDotForm;
|
|
545
|
+
name(value: AttrVal<string>): IDotForm;
|
|
546
|
+
noValidate(value: AttrVal<boolean>): IDotForm;
|
|
530
547
|
// rel(value: PrimativeOrObservable<string>): IDotForm; // Not used with forms?
|
|
531
|
-
target(value:
|
|
548
|
+
target(value: AttrVal<"_self">|AttrVal<"_blank">|AttrVal<"_parent">|AttrVal<"_top">): IDotForm;
|
|
532
549
|
}
|
|
533
550
|
interface IDotHr extends IDotElementDocument<IDotHr>{
|
|
534
551
|
noShade(value: unknown): IDotHr;
|
|
535
552
|
}
|
|
536
553
|
interface IDotIFrame extends IDotElementDocument<IDotIFrame>{
|
|
537
|
-
allow(value:
|
|
538
|
-
allowFullScreen(value:
|
|
554
|
+
allow(value: AttrVal<string>): IDotIFrame;
|
|
555
|
+
allowFullScreen(value: AttrVal<boolean>): IDotIFrame;
|
|
539
556
|
/** @deprecated Deprecated in HTML5. */
|
|
540
|
-
frameBorder(value:
|
|
541
|
-
height(value:
|
|
557
|
+
frameBorder(value: AttrVal<0>|AttrVal<1>): IDotIFrame;
|
|
558
|
+
height(value: AttrVal<number>): IDotIFrame;
|
|
542
559
|
/** @deprecated Deprecated in HTML5. */
|
|
543
|
-
longDesc(value:
|
|
544
|
-
marginHeight(value:
|
|
545
|
-
marginWidth(value:
|
|
546
|
-
name(value:
|
|
547
|
-
referrerPolicy(value:
|
|
548
|
-
sandbox(value:
|
|
560
|
+
longDesc(value: AttrVal<string>): IDotIFrame;
|
|
561
|
+
marginHeight(value: AttrVal<number>): IDotIFrame;
|
|
562
|
+
marginWidth(value: AttrVal<number>): IDotIFrame;
|
|
563
|
+
name(value: AttrVal<string>): IDotIFrame;
|
|
564
|
+
referrerPolicy(value: AttrVal<string>): IDotIFrame;
|
|
565
|
+
sandbox(value: AttrVal<string>): IDotIFrame;
|
|
549
566
|
/** @deprecated Deprecated in HTML5. */
|
|
550
|
-
scrolling(value:
|
|
551
|
-
seamless(value:
|
|
552
|
-
src(value:
|
|
553
|
-
srcDoc(value:
|
|
554
|
-
width(value:
|
|
567
|
+
scrolling(value: AttrVal<string>): IDotIFrame;
|
|
568
|
+
seamless(value: AttrVal<boolean>): IDotIFrame;
|
|
569
|
+
src(value: AttrVal<string>): IDotIFrame;
|
|
570
|
+
srcDoc(value: AttrVal<string>): IDotIFrame;
|
|
571
|
+
width(value: AttrVal<number>): IDotIFrame;
|
|
555
572
|
}
|
|
556
573
|
interface IDotImg extends IDotElementDocument<IDotImg>{
|
|
557
|
-
alt(value:
|
|
558
|
-
crossOrigin(value:
|
|
559
|
-
decoding(value:
|
|
560
|
-
height(value:
|
|
561
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
562
|
-
hSpace(value:
|
|
563
|
-
isMap(value:
|
|
564
|
-
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
565
|
-
loading(value:
|
|
566
|
-
longDesc(value:
|
|
567
|
-
referrerPolicy(value:
|
|
568
|
-
sizes(value:
|
|
569
|
-
src(value:
|
|
570
|
-
srcSet(value:
|
|
571
|
-
useMap(value:
|
|
572
|
-
width(value:
|
|
574
|
+
alt(value: AttrVal<string>): IDotImg;
|
|
575
|
+
crossOrigin(value: AttrVal<"anonymous">|AttrVal<"use-credentials">): IDotImg;
|
|
576
|
+
decoding(value: AttrVal<"async">|AttrVal<"auto">|AttrVal<"sync">): IDotImg;
|
|
577
|
+
height(value: AttrVal<number>): IDotImg;
|
|
578
|
+
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
579
|
+
hSpace(value: AttrVal<unknown>): IDotImg;
|
|
580
|
+
isMap(value: AttrVal<boolean>): IDotImg;
|
|
581
|
+
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
582
|
+
loading(value: AttrVal<"eager">|AttrVal<"lazy">): IDotImg;
|
|
583
|
+
longDesc(value: AttrVal<string>): IDotImg;
|
|
584
|
+
referrerPolicy(value: AttrVal<string>): IDotImg;
|
|
585
|
+
sizes(value: AttrVal<string>): IDotImg;
|
|
586
|
+
src(value: AttrVal<string>): IDotImg;
|
|
587
|
+
srcSet(value: AttrVal<string>): IDotImg; // Comma separated. Consider accepting an array.
|
|
588
|
+
useMap(value: AttrVal<number>): IDotImg;
|
|
589
|
+
width(value: AttrVal<number>): IDotImg;
|
|
573
590
|
}
|
|
574
591
|
interface IDotInput extends IDotElementDocument<IDotInput>{
|
|
575
|
-
accept(value:
|
|
576
|
-
alt(value:
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
592
|
+
accept(value: AttrVal<string>): IDotInput;
|
|
593
|
+
alt(value: AttrVal<string>): IDotInput;
|
|
594
|
+
autoCapitalize(value: AttrVal<"none">|AttrVal<"sentences">|AttrVal<"words">|AttrVal<"characters">): IDotInput;
|
|
595
|
+
autoComplete(value: AttrVal<"on">|AttrVal<"off">): IDotInput;
|
|
596
|
+
autoFocus(value: AttrVal<boolean>): IDotInput;
|
|
597
|
+
checked(value?: AttrVal<boolean>): IDotInput;
|
|
598
|
+
enterKeyHint(value: AttrVal<"enter">|AttrVal<"done">|AttrVal<"go">|AttrVal<"next">|AttrVal<"preveous">|AttrVal<"search">|AttrVal<"send">): IDotInput;
|
|
599
|
+
dirName(value: AttrVal<string>): IDotInput;
|
|
600
|
+
disabled(value: AttrVal<boolean>): IDotInput;
|
|
601
|
+
formAction(value: AttrVal<string>): IDotInput;
|
|
602
|
+
height(value: AttrVal<number>): IDotInput;
|
|
603
|
+
list(value: AttrVal<string>): IDotInput;
|
|
604
|
+
max(value: AttrVal<number>): IDotInput;
|
|
605
|
+
maxLength(value: AttrVal<number>): IDotInput;
|
|
606
|
+
min(value: AttrVal<number>): IDotInput;
|
|
607
|
+
multiple(value: AttrVal<boolean>): IDotInput;
|
|
608
|
+
name(value: AttrVal<string>): IDotInput;
|
|
609
|
+
pattern(value: AttrVal<string>): IDotInput;
|
|
610
|
+
placeholder(value: AttrVal<string>): IDotInput;
|
|
611
|
+
readOnly(value: AttrVal<boolean>): IDotInput;
|
|
612
|
+
required(value: AttrVal<boolean>): IDotInput;
|
|
613
|
+
size(value: AttrVal<number>): IDotInput;
|
|
614
|
+
src(value: AttrVal<string>): IDotInput;
|
|
615
|
+
step(value: AttrVal<string>|AttrVal<number>): IDotInput;
|
|
597
616
|
type(value: "button"|"checkbox"|"color"|"date"|"datetime-local"|"email"|"file"|"hidden"|"image"|"month"|"number"|"password"|"radio"|"range"|"reset"|"search"|"submit"|"tel"|"text"|"time"|"url"|"week"): IDotInput;
|
|
598
|
-
whichForm(value:
|
|
599
|
-
value(value:
|
|
600
|
-
width(value:
|
|
617
|
+
whichForm(value: AttrVal<string>): IDotInput; // form
|
|
618
|
+
value(value: AttrVal<string>): IDotInput;
|
|
619
|
+
width(value: AttrVal<number>): IDotInput;
|
|
601
620
|
|
|
602
621
|
// Special functions:
|
|
603
622
|
// getVal(): string
|
|
@@ -607,46 +626,46 @@ interface IDotInput extends IDotElementDocument<IDotInput>{
|
|
|
607
626
|
onSearch(callback: (e: Event)=>void): IDotInput;
|
|
608
627
|
}
|
|
609
628
|
interface IDotIns extends IDotElementDocument<IDotIns>{
|
|
610
|
-
dateTime(value:
|
|
611
|
-
quoteCite(value:
|
|
629
|
+
dateTime(value: AttrVal<string>): IDotIns;
|
|
630
|
+
quoteCite(value: AttrVal<string>): IDotIns; // alias for cite
|
|
612
631
|
}
|
|
613
632
|
interface IDotKeyGen extends IDotElementDocument<IDotKeyGen>{
|
|
614
|
-
challenge(value:
|
|
615
|
-
keyType(value:
|
|
633
|
+
challenge(value: AttrVal<string>): IDotKeyGen;
|
|
634
|
+
keyType(value: AttrVal<string>): IDotKeyGen;
|
|
616
635
|
}
|
|
617
636
|
interface IDotLabel extends IDotElementDocument<IDotLabel>{
|
|
618
|
-
for(value:
|
|
637
|
+
for(value: AttrVal<string>): IDotLabel;
|
|
619
638
|
}
|
|
620
639
|
interface IDotLi extends IDotElementDocument<IDotLi>{
|
|
621
|
-
value(value:
|
|
640
|
+
value(value: AttrVal<number>): IDotLi;
|
|
622
641
|
}
|
|
623
642
|
interface IDotMap extends IDotElementDocument<IDotMap>{
|
|
624
|
-
name(value:
|
|
643
|
+
name(value: AttrVal<string>): IDotMap;
|
|
625
644
|
}
|
|
626
645
|
interface IDotMenu extends IDotElementDocument<IDotMenu>{
|
|
627
|
-
type(value:
|
|
646
|
+
type(value: AttrVal<string>): IDotMenu;
|
|
628
647
|
}
|
|
629
648
|
interface IDotMeter extends IDotElementDocument<IDotMeter>{
|
|
630
|
-
high(value:
|
|
631
|
-
low(value:
|
|
632
|
-
max(value:
|
|
633
|
-
min(value:
|
|
634
|
-
optimum(value:
|
|
635
|
-
value(value:
|
|
649
|
+
high(value: AttrVal<number>): IDotMeter;
|
|
650
|
+
low(value: AttrVal<number>): IDotMeter;
|
|
651
|
+
max(value: AttrVal<number>): IDotMeter;
|
|
652
|
+
min(value: AttrVal<number>): IDotMeter;
|
|
653
|
+
optimum(value: AttrVal<number>): IDotMeter;
|
|
654
|
+
value(value: AttrVal<number>): IDotMeter;
|
|
636
655
|
}
|
|
637
656
|
interface IDotObject extends IDotElementDocument<IDotObject>{
|
|
638
|
-
archive(value:
|
|
639
|
-
classId(value:
|
|
640
|
-
codeBase(value:
|
|
641
|
-
codeType(value:
|
|
642
|
-
objectData(value:
|
|
643
|
-
declare(value:
|
|
644
|
-
height(value:
|
|
645
|
-
name(value:
|
|
646
|
-
standby(value:
|
|
647
|
-
type(value:
|
|
648
|
-
useMap(value:
|
|
649
|
-
width(value:
|
|
657
|
+
archive(value: AttrVal<string>): IDotObject;
|
|
658
|
+
classId(value: AttrVal<string>): IDotObject;
|
|
659
|
+
codeBase(value: AttrVal<string>): IDotObject;
|
|
660
|
+
codeType(value: AttrVal<string>): IDotObject;
|
|
661
|
+
objectData(value: AttrVal<string>): IDotObject; // alias for data
|
|
662
|
+
declare(value: AttrVal<boolean>): IDotObject;
|
|
663
|
+
height(value: AttrVal<number>): IDotObject;
|
|
664
|
+
name(value: AttrVal<string>): IDotObject;
|
|
665
|
+
standby(value: AttrVal<string>): IDotObject;
|
|
666
|
+
type(value: AttrVal<string>): IDotObject;
|
|
667
|
+
useMap(value: AttrVal<string>): IDotObject;
|
|
668
|
+
width(value: AttrVal<number>): IDotObject;
|
|
650
669
|
}
|
|
651
670
|
interface IDotOl extends IDotElementDocument<IDotOl>{
|
|
652
671
|
reversed(value: boolean): IDotOl;
|
|
@@ -656,164 +675,166 @@ interface IDotOptGroup extends IDotElementDocument<IDotOptGroup>{
|
|
|
656
675
|
disabled(value: boolean): IDotOptGroup;
|
|
657
676
|
}
|
|
658
677
|
interface IDotOption extends IDotElementDocument<IDotOption>{
|
|
659
|
-
disabled(value:
|
|
660
|
-
optionLabel(value:
|
|
661
|
-
selected(value:
|
|
662
|
-
value(value:
|
|
678
|
+
disabled(value: AttrVal<boolean>): IDotOption;
|
|
679
|
+
optionLabel(value: AttrVal<string>): IDotOption; // alias for label
|
|
680
|
+
selected(value: AttrVal<boolean>): IDotOption;
|
|
681
|
+
value(value: AttrVal<string>): IDotOption;
|
|
663
682
|
|
|
664
683
|
// Special functions:
|
|
665
684
|
// getVal(): string;
|
|
666
685
|
// setVal(value: unknown): IDotOption;
|
|
667
686
|
}
|
|
668
687
|
interface IDotOutput extends IDotElementDocument<IDotOutput>{
|
|
669
|
-
for(value:
|
|
670
|
-
name(value:
|
|
671
|
-
whichForm(value:
|
|
688
|
+
for(value: AttrVal<string>): IDotOutput;
|
|
689
|
+
name(value: AttrVal<string>): IDotOutput;
|
|
690
|
+
whichForm(value: AttrVal<string>): IDotOutput; // alias for form
|
|
672
691
|
}
|
|
673
692
|
interface IDotParam extends IDotElementDocument<IDotParam>{
|
|
674
|
-
name(value:
|
|
675
|
-
value(value:
|
|
693
|
+
name(value: AttrVal<string>): IDotParam;
|
|
694
|
+
value(value: AttrVal<string>): IDotParam;
|
|
676
695
|
/** @deprecated Deprecated in HTML5. */
|
|
677
|
-
valueType(value:
|
|
696
|
+
valueType(value: AttrVal<unknown>): IDotParam;
|
|
678
697
|
}
|
|
679
698
|
interface IDotProgress extends IDotElementDocument<IDotProgress>{
|
|
680
|
-
max(value:
|
|
681
|
-
value(value:
|
|
699
|
+
max(value: AttrVal<number>): IDotProgress;
|
|
700
|
+
value(value: AttrVal<number>): IDotProgress;
|
|
682
701
|
}
|
|
683
702
|
interface IDotQ extends IDotElementDocument<IDotQ>{
|
|
684
|
-
quoteCite(value:
|
|
703
|
+
quoteCite(value: AttrVal<string>): IDotQ; // alias for cite
|
|
685
704
|
}
|
|
686
705
|
interface IDotSelect extends IDotElementDocument<IDotSelect>{
|
|
687
|
-
autoFocus(value:
|
|
688
|
-
disabled(value:
|
|
689
|
-
multiple(value:
|
|
690
|
-
name(value:
|
|
691
|
-
required(value:
|
|
692
|
-
size(value:
|
|
693
|
-
whichForm(value:
|
|
694
|
-
value(value:
|
|
706
|
+
autoFocus(value: AttrVal<boolean>): IDotSelect;
|
|
707
|
+
disabled(value: AttrVal<boolean>): IDotSelect;
|
|
708
|
+
multiple(value: AttrVal<boolean>): IDotSelect;
|
|
709
|
+
name(value: AttrVal<string>): IDotSelect;
|
|
710
|
+
required(value: AttrVal<boolean>): IDotSelect;
|
|
711
|
+
size(value: AttrVal<number>): IDotSelect;
|
|
712
|
+
whichForm(value: AttrVal<string>): IDotSelect; // alias for form
|
|
713
|
+
value(value: AttrVal<string>); // Pseudo attribute for convenience.
|
|
695
714
|
}
|
|
696
715
|
interface IDotSource extends IDotElementDocument<IDotSource>{
|
|
697
|
-
media(value:
|
|
698
|
-
src(value:
|
|
699
|
-
type(value:
|
|
700
|
-
sizes(value:
|
|
701
|
-
src(value:
|
|
702
|
-
srcSet(value:
|
|
703
|
-
type(value:
|
|
716
|
+
media(value: AttrVal<string>): IDotSource;
|
|
717
|
+
src(value: AttrVal<string>): IDotSource;
|
|
718
|
+
type(value: AttrVal<string>): IDotSource;
|
|
719
|
+
sizes(value: AttrVal<string>): IDotSource;
|
|
720
|
+
src(value: AttrVal<string>): IDotSource;
|
|
721
|
+
srcSet(value: AttrVal<string>): IDotSource;
|
|
722
|
+
type(value: AttrVal<string>): IDotSource;
|
|
704
723
|
}
|
|
705
724
|
interface IDotTable extends IDotElementDocument<IDotTable>{
|
|
706
725
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
707
|
-
border(value:
|
|
726
|
+
border(value: AttrVal<string>|AttrVal<number>): IDotTable;
|
|
708
727
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
709
|
-
cellPadding(value:
|
|
728
|
+
cellPadding(value: AttrVal<string>|AttrVal<number>): IDotTable;
|
|
710
729
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
711
|
-
cellSpacing(value:
|
|
730
|
+
cellSpacing(value: AttrVal<string>|AttrVal<number>): IDotTable;
|
|
712
731
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
713
|
-
frame(value:
|
|
732
|
+
frame(value: AttrVal<string>|AttrVal<number>): IDotTable;
|
|
714
733
|
/** @deprecated Deprecated in HTML5. */
|
|
715
|
-
height(value:
|
|
734
|
+
height(value: AttrVal<number>): IDotTable;
|
|
716
735
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
717
|
-
rules(value:
|
|
736
|
+
rules(value: AttrVal<string>): IDotTable;
|
|
718
737
|
/** @deprecated Deprecated in HTML5. */
|
|
719
|
-
tableSummary(value:
|
|
738
|
+
tableSummary(value: AttrVal<string>): IDotTable; // summary
|
|
720
739
|
/** @deprecated Deprecated in HTML5. */
|
|
721
|
-
width(value:
|
|
740
|
+
width(value: AttrVal<number>): IDotTable;
|
|
722
741
|
}
|
|
723
742
|
interface IDotTextArea extends IDotElementDocument<IDotTextArea>{
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
743
|
+
autoCapitalize(value: AttrVal<"none">|AttrVal<"sentences">|AttrVal<"words">|AttrVal<"characters">): IDotTextArea;
|
|
744
|
+
autoFocus(value: AttrVal<boolean>): IDotTextArea;
|
|
745
|
+
cols(value: AttrVal<number>): IDotTextArea;
|
|
746
|
+
dirName(value: AttrVal<string>): IDotTextArea;
|
|
747
|
+
disabled(value: AttrVal<boolean>): IDotTextArea;
|
|
748
|
+
enterKeyHint(value: AttrVal<"enter">|AttrVal<"done">|AttrVal<"go">|AttrVal<"next">|AttrVal<"preveous">|AttrVal<"search">|AttrVal<"send">): IDotTextArea;
|
|
749
|
+
maxLength(value: AttrVal<number>): IDotTextArea;
|
|
750
|
+
name(value: AttrVal<string>): IDotTextArea;
|
|
751
|
+
placeholder(value: AttrVal<string>): IDotTextArea;
|
|
752
|
+
readOnly(value: AttrVal<boolean>): IDotTextArea;
|
|
753
|
+
required(value: AttrVal<boolean>): IDotTextArea;
|
|
754
|
+
rows(value: AttrVal<number>): IDotTextArea;
|
|
755
|
+
whichForm(value: AttrVal<string>): IDotTextArea; // alias for form
|
|
756
|
+
wrap(value: AttrVal<string>): IDotTextArea;
|
|
757
|
+
value(value: AttrVal<string>); // Pseudo attribute for convenience.
|
|
737
758
|
}
|
|
738
759
|
interface IDotTBody extends IDotElementDocument<IDotTBody>{
|
|
739
760
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
740
|
-
charOff(value:
|
|
761
|
+
charOff(value: AttrVal<unknown>): IDotTBody;
|
|
741
762
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
742
|
-
vAlign(value:
|
|
763
|
+
vAlign(value: AttrVal<unknown>): IDotTBody;
|
|
743
764
|
}
|
|
744
765
|
interface IDotTd extends IDotElementDocument<IDotTd>{
|
|
745
766
|
|
|
746
767
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
747
|
-
axis(value:
|
|
768
|
+
axis(value: AttrVal<string>): IDotTd;
|
|
748
769
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
749
|
-
char(value:
|
|
750
|
-
colSpan(value:
|
|
770
|
+
char(value: AttrVal<string>): IDotTd;
|
|
771
|
+
colSpan(value: AttrVal<number>): IDotTd;
|
|
751
772
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
752
|
-
charOff(value:
|
|
753
|
-
headers(value:
|
|
773
|
+
charOff(value: AttrVal<string>): IDotTd;
|
|
774
|
+
headers(value: AttrVal<string>): IDotTd;
|
|
754
775
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
755
|
-
noWrap(value:
|
|
756
|
-
rowSpan(value:
|
|
757
|
-
scope(value:
|
|
776
|
+
noWrap(value: AttrVal<boolean>): IDotTd;
|
|
777
|
+
rowSpan(value: AttrVal<number>): IDotTd;
|
|
778
|
+
scope(value: AttrVal<string>): IDotTd;
|
|
758
779
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
759
|
-
vAlign(value:
|
|
780
|
+
vAlign(value: AttrVal<string>): IDotTd;
|
|
760
781
|
}
|
|
761
782
|
interface IDotTFoot extends IDotElementDocument<IDotTFoot>{
|
|
762
783
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
763
|
-
charOff(value:
|
|
784
|
+
charOff(value: AttrVal<number>): IDotTFoot;
|
|
764
785
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
765
|
-
vAlign(value:
|
|
786
|
+
vAlign(value: AttrVal<string>): IDotTFoot;
|
|
766
787
|
}
|
|
767
788
|
interface IDotTime extends IDotElementDocument<IDotTime>{
|
|
768
|
-
dateTime(value:
|
|
789
|
+
dateTime(value: AttrVal<string>): IDotTime;
|
|
769
790
|
}
|
|
770
791
|
interface IDotTh extends IDotElementDocument<IDotTh>{
|
|
771
792
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
772
|
-
axis(value:
|
|
773
|
-
colSpan(value:
|
|
793
|
+
axis(value: AttrVal<string>): IDotTh;
|
|
794
|
+
colSpan(value: AttrVal<number>): IDotTh;
|
|
774
795
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
775
|
-
charOff(value:
|
|
776
|
-
headers(value:
|
|
777
|
-
rowSpan(value:
|
|
778
|
-
scope(value:
|
|
796
|
+
charOff(value: AttrVal<string>): IDotTh;
|
|
797
|
+
headers(value: AttrVal<string>): IDotTh;
|
|
798
|
+
rowSpan(value: AttrVal<number>): IDotTh;
|
|
799
|
+
scope(value: AttrVal<string>): IDotTh;
|
|
779
800
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
780
|
-
vAlign(value:
|
|
801
|
+
vAlign(value: AttrVal<string>): IDotTh;
|
|
781
802
|
}
|
|
782
803
|
interface IDotTHead extends IDotElementDocument<IDotTHead>{
|
|
783
804
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
784
|
-
charOff(value:
|
|
805
|
+
charOff(value: AttrVal<string>|AttrVal<number>): IDotTHead;
|
|
785
806
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
786
|
-
vAlign(value:
|
|
807
|
+
vAlign(value: AttrVal<string>): IDotTHead;
|
|
787
808
|
}
|
|
788
809
|
interface IDotTr extends IDotElementDocument<IDotTr>{
|
|
789
810
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
790
|
-
charOff(value:
|
|
811
|
+
charOff(value: AttrVal<string>|AttrVal<number>): IDotTr;
|
|
791
812
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|
|
792
|
-
vAlign(value:
|
|
813
|
+
vAlign(value: AttrVal<string>): IDotTr;
|
|
793
814
|
}
|
|
794
815
|
interface IDotTrack extends IDotElementDocument<IDotTrack>{
|
|
795
|
-
default(value:
|
|
796
|
-
kind(value:
|
|
797
|
-
src(value:
|
|
798
|
-
srcLang(value:
|
|
799
|
-
trackLabel(value:
|
|
816
|
+
default(value: AttrVal<boolean>): IDotTrack;
|
|
817
|
+
kind(value: AttrVal<string>): IDotTrack;
|
|
818
|
+
src(value: AttrVal<string>): IDotTrack;
|
|
819
|
+
srcLang(value: AttrVal<string>): IDotTrack;
|
|
820
|
+
trackLabel(value: AttrVal<string>): IDotTrack; // alias for label
|
|
800
821
|
|
|
801
822
|
// Events:
|
|
802
823
|
onCueChange(callback: (e: Event)=>void): IDotTrack;
|
|
803
824
|
}
|
|
804
825
|
interface IDotVideo extends IDotElementDocument<IDotVideo>{
|
|
805
|
-
autoPlay(value:
|
|
806
|
-
buffered(value:
|
|
807
|
-
controls(value:
|
|
808
|
-
crossOrigin(value:
|
|
809
|
-
height(value:
|
|
810
|
-
loop(value:
|
|
811
|
-
muted(value:
|
|
812
|
-
playsInline(value:
|
|
813
|
-
poster(value:
|
|
814
|
-
preload(value:
|
|
815
|
-
src(value:
|
|
816
|
-
width(value:
|
|
826
|
+
autoPlay(value: AttrVal<boolean>): IDotVideo;
|
|
827
|
+
buffered(value: IReactive<unknown>): IDotVideo; // Managed by browser not user. TODO: we can possibly use events to update observable objects.
|
|
828
|
+
controls(value: AttrVal<boolean>): IDotVideo;
|
|
829
|
+
crossOrigin(value: AttrVal<"anonymous">|AttrVal<"use-credentials">): IDotVideo;
|
|
830
|
+
height(value: AttrVal<number>): IDotVideo;
|
|
831
|
+
loop(value: AttrVal<boolean>): IDotVideo;
|
|
832
|
+
muted(value: AttrVal<boolean>): IDotVideo;
|
|
833
|
+
playsInline(value: AttrVal<boolean>): IDotVideo;
|
|
834
|
+
poster(value: AttrVal<string>): IDotVideo;
|
|
835
|
+
preload(value: AttrVal<"none">|AttrVal<"metadata">|AttrVal<"auto">): IDotVideo;
|
|
836
|
+
src(value: AttrVal<string>): IDotVideo;
|
|
837
|
+
width(value: AttrVal<number>): IDotVideo;
|
|
817
838
|
|
|
818
839
|
// Special functions:
|
|
819
840
|
pause(): IDotVideo;
|
package/src/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export * from "./i-dot-css";
|
|
|
7
7
|
|
|
8
8
|
export { default as IComponent, FrameworkItems } from "./i-component";
|
|
9
9
|
|
|
10
|
-
export { default as IObservable } from "./i-
|
|
10
|
+
export { default as IObservable } from "./i-reactive";
|
|
11
11
|
export { default as IEventBus } from "./i-event-bus";
|