dothtml-interfaces 0.1.21 → 0.1.22

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/i-dot.d.ts +277 -256
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dothtml-interfaces",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Dependency injection interfaces for DOTHtml.",
5
5
  "main": "src/index.d.ts",
6
6
  "types": "src/index.d.ts",
package/src/i-dot.d.ts CHANGED
@@ -8,7 +8,7 @@ type DotContentPrimitive = string|number|boolean;
8
8
  type DotContentBasic = DotContentPrimitive|Node|Element|NodeList|IComponent|IDotDocument//typeof DotDocument;
9
9
  export type DotContent = DotContentBasic|Array<DotContent>|IObservable;//|(()=>DotContent);
10
10
 
11
- type PrimativeOrObservable<T = string|number|boolean> = T|IObservable<T>;
11
+ type AttrVal<T = string|number|boolean> = T|IObservable<T>;
12
12
 
13
13
  /**
14
14
  * Global interface containing elements.
@@ -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: PrimativeOrObservable<unknown>): T;
289
+ bgColor(value: AttrVal<unknown>): T;
291
290
  /** @deprecated Deprecated in HTML5. Use CSS. */
292
- color(value: PrimativeOrObservable<unknown>): T;
291
+ color(value: AttrVal<unknown>): T;
293
292
  /** @deprecated Deprecated in HTML5. Use CSS. */
294
- aLink(value: PrimativeOrObservable<unknown>): T;
293
+ aLink(value: AttrVal<unknown>): T;
295
294
  /** @deprecated Deprecated in HTML5. */
296
- archive(value: PrimativeOrObservable<unknown>): T;
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
- accessKey(value: PrimativeOrObservable<string>): T; // This could potentially be enumerated. But care should be taken as these types are already quite complex.
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: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">|PrimativeOrObservable<"plaintext-only">): T;
305
- dir(value: PrimativeOrObservable<string>): T;
306
- draggable(value: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">): T; // This one is enumerated. "true" or "false" is mandatory.
307
- dropZone(value: PrimativeOrObservable<"move">|PrimativeOrObservable<"copy">|PrimativeOrObservable<"link">): T; // Might not be supported anywhere.
308
- hidden(value: PrimativeOrObservable<boolean>): T;
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
- itemProp(value: PrimativeOrObservable<string>): T;
311
- lang(value: PrimativeOrObservable<string>): T;
312
- spellCheck(value: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">): T; // This one should ideally render as "true" or "false", not be removed.
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: PrimativeOrObservable<number>): T;
315
- title(value: PrimativeOrObservable<string>): T;
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: PrimativeOrObservable<boolean>): IDotA;
386
- hRef(value: PrimativeOrObservable<string>): IDotA;
387
- hRefLang(value: PrimativeOrObservable<string>): IDotA;
388
- charset(value: PrimativeOrObservable<string>): IDotA;
389
- coords(value: PrimativeOrObservable<string>): IDotA;
390
- shape(value: PrimativeOrObservable<string>): IDotA;
391
- media(value: PrimativeOrObservable<string>): IDotA;
392
- ping(value: PrimativeOrObservable<string>): IDotA; // Space separated. Consider an array. Or do what we're doing for class.
393
- rel(value: PrimativeOrObservable<string>): IDotA;
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: PrimativeOrObservable<unknown>): IDotA;
396
- name(value: PrimativeOrObservable<string>): IDotA;
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: PrimativeOrObservable<"_blank">|PrimativeOrObservable<"_parent">|PrimativeOrObservable<"_self">|PrimativeOrObservable<"_top">): IDotA;
399
- type(value: PrimativeOrObservable<string>): IDotA;
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: PrimativeOrObservable<string>): IDotArea;
403
- coords(value: PrimativeOrObservable<string>): IDotArea;
404
- download(value: PrimativeOrObservable<string>): IDotArea;
405
- hRef(value: PrimativeOrObservable<string>): IDotArea;
406
- hRefLang(value: PrimativeOrObservable<string>): IDotArea;
407
- media(value: PrimativeOrObservable<string>): IDotArea;
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: PrimativeOrObservable<string>): IDotArea;
410
- rel(value: PrimativeOrObservable<string>): IDotArea;
411
- shape(value: PrimativeOrObservable<string>): IDotArea;
412
- target(value: PrimativeOrObservable<string>): IDotArea;
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: PrimativeOrObservable<boolean>): IDotAudio;
432
+ autoPlay(value: AttrVal<boolean>): IDotAudio;
416
433
  // buffered(value: unknown): IDotAudio; // Not used?
417
- controls(value: PrimativeOrObservable<boolean>): IDotAudio;
418
- loop(value: PrimativeOrObservable<boolean>): IDotAudio;
419
- muted(value: PrimativeOrObservable<boolean>): IDotAudio;
420
- preload(value: PrimativeOrObservable<"auto">|PrimativeOrObservable<"metadata">|PrimativeOrObservable<"none">): IDotAudio;
421
- src(value: PrimativeOrObservable<string>): IDotAudio;
422
- crossOrigin(value: PrimativeOrObservable<"anonymous">|PrimativeOrObservable<"use-credentials">): IDotAudio;
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: PrimativeOrObservable<string>): IDotBlockQuote; // alias for cite
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: PrimativeOrObservable<boolean>): IDotButton;
477
- formAction(value: PrimativeOrObservable<string>): IDotButton;
478
- disabled(value?: PrimativeOrObservable<boolean>): IDotButton;
479
- name(value: PrimativeOrObservable<string>): IDotButton;
480
- type(value: PrimativeOrObservable<"button">|PrimativeOrObservable<"submit">|PrimativeOrObservable<"reset">): IDotButton;
481
- whichForm(value: PrimativeOrObservable<string>): IDotButton; // alias for form
482
- value(value: PrimativeOrObservable<string>): IDotButton;
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: PrimativeOrObservable<number>): IDotCanvas;
486
- width(value: PrimativeOrObservable<number>): IDotCanvas;
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: PrimativeOrObservable<unknown>): IDotCol;
491
- colSpan(value: PrimativeOrObservable<number>): IDotCol; // alias for span
492
- vAlign(value: PrimativeOrObservable<number>): IDotCol;
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: PrimativeOrObservable<unknown>): IDotColGroup;
497
- colSpan(value: PrimativeOrObservable<number>): IDotColGroup; // alias for span
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: PrimativeOrObservable<unknown>): IDotColGroup;
516
+ vAlign(value: AttrVal<unknown>): IDotColGroup;
500
517
  }
501
518
  interface IDotDel extends IDotElementDocument<IDotDel>{
502
- dateTime(value: PrimativeOrObservable<string>): IDotDel; // Would be cool if this could accept dates and just format them internally...
503
- quoteCite(value: PrimativeOrObservable<string>): IDotDel; // alias for cite
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: PrimativeOrObservable<boolean>): IDotDetails;
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: PrimativeOrObservable<number>): IDotEmbed;
513
- src(value: PrimativeOrObservable<string>): IDotEmbed;
514
- type(value: PrimativeOrObservable<string>): IDotEmbed;
515
- width(value: PrimativeOrObservable<number>): IDotEmbed;
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: PrimativeOrObservable<boolean>): IDotFieldSet;
519
- name(value: PrimativeOrObservable<string>): IDotFieldSet;
520
- whichForm(value: PrimativeOrObservable<string>): IDotFieldSet; // alias for form
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: PrimativeOrObservable<string>): IDotForm; // accept-charset, apparently the only hyphenated attribute (aside from data-*)...
524
- action(value: PrimativeOrObservable<string>): IDotForm;
525
- autoComplete(value: PrimativeOrObservable<"on">|PrimativeOrObservable<"off">): IDotForm;
526
- encType(value: PrimativeOrObservable<"application/x-www-form-urlencoded">|PrimativeOrObservable<"multipart/form-data">|PrimativeOrObservable<"text/plain">): IDotForm;
527
- method(value: PrimativeOrObservable<"get">|PrimativeOrObservable<"post">): IDotForm;
528
- name(value: PrimativeOrObservable<string>): IDotForm;
529
- noValidate(value: PrimativeOrObservable<boolean>): IDotForm;
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: PrimativeOrObservable<"_self">|PrimativeOrObservable<"_blank">|PrimativeOrObservable<"_parent">|PrimativeOrObservable<"_top">): IDotForm;
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: PrimativeOrObservable<string>): IDotIFrame;
538
- allowFullScreen(value: PrimativeOrObservable<boolean>): IDotIFrame;
554
+ allow(value: AttrVal<string>): IDotIFrame;
555
+ allowFullScreen(value: AttrVal<boolean>): IDotIFrame;
539
556
  /** @deprecated Deprecated in HTML5. */
540
- frameBorder(value: PrimativeOrObservable<0>|PrimativeOrObservable<1>): IDotIFrame;
541
- height(value: PrimativeOrObservable<number>): IDotIFrame;
557
+ frameBorder(value: AttrVal<0>|AttrVal<1>): IDotIFrame;
558
+ height(value: AttrVal<number>): IDotIFrame;
542
559
  /** @deprecated Deprecated in HTML5. */
543
- longDesc(value: PrimativeOrObservable<string>): IDotIFrame;
544
- marginHeight(value: PrimativeOrObservable<number>): IDotIFrame;
545
- marginWidth(value: PrimativeOrObservable<number>): IDotIFrame;
546
- name(value: PrimativeOrObservable<string>): IDotIFrame;
547
- referrerPolicy(value: PrimativeOrObservable<string>): IDotIFrame;
548
- sandbox(value: PrimativeOrObservable<string>): IDotIFrame;
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: PrimativeOrObservable<string>): IDotIFrame;
551
- seamless(value: PrimativeOrObservable<boolean>): IDotIFrame;
552
- src(value: PrimativeOrObservable<string>): IDotIFrame;
553
- srcDoc(value: PrimativeOrObservable<string>): IDotIFrame;
554
- width(value: PrimativeOrObservable<number>): IDotIFrame;
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: PrimativeOrObservable<string>): IDotImg;
558
- crossOrigin(value: PrimativeOrObservable<"anonymous">|PrimativeOrObservable<"use-credentials">): IDotImg;
559
- decoding(value: PrimativeOrObservable<"async">|PrimativeOrObservable<"auto">|PrimativeOrObservable<"sync">): IDotImg;
560
- height(value: PrimativeOrObservable<number>): IDotImg;
561
- /** @deprecated Deprecated in HTML5. Use CSS. */
562
- hSpace(value: PrimativeOrObservable<unknown>): IDotImg;
563
- isMap(value: PrimativeOrObservable<boolean>): IDotImg;
564
- /** @deprecated Deprecated in HTML5. Use CSS. */
565
- loading(value: PrimativeOrObservable<"eager">|PrimativeOrObservable<"lazy">): IDotImg;
566
- longDesc(value: PrimativeOrObservable<string>): IDotImg;
567
- referrerPolicy(value: PrimativeOrObservable<string>): IDotImg;
568
- sizes(value: PrimativeOrObservable<string>): IDotImg;
569
- src(value: PrimativeOrObservable<string>): IDotImg;
570
- srcSet(value: PrimativeOrObservable<string>): IDotImg; // Comma separated. Consider accepting an array.
571
- useMap(value: PrimativeOrObservable<number>): IDotImg;
572
- width(value: PrimativeOrObservable<number>): IDotImg;
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: PrimativeOrObservable<string>): IDotInput;
576
- alt(value: PrimativeOrObservable<string>): IDotInput;
577
- autoComplete(value: PrimativeOrObservable<"on">|PrimativeOrObservable<"off">): IDotInput;
578
- autoFocus(value: PrimativeOrObservable<boolean>): IDotInput;
579
- checked(value?: PrimativeOrObservable<boolean>): IDotInput;
580
- dirName(value: PrimativeOrObservable<string>): IDotInput;
581
- disabled(value: PrimativeOrObservable<boolean>): IDotInput;
582
- formAction(value: PrimativeOrObservable<string>): IDotInput;
583
- height(value: PrimativeOrObservable<number>): IDotInput;
584
- list(value: PrimativeOrObservable<string>): IDotInput;
585
- max(value: PrimativeOrObservable<number>): IDotInput;
586
- maxLength(value: PrimativeOrObservable<number>): IDotInput;
587
- min(value: PrimativeOrObservable<number>): IDotInput;
588
- multiple(value: PrimativeOrObservable<boolean>): IDotInput;
589
- name(value: PrimativeOrObservable<string>): IDotInput;
590
- pattern(value: PrimativeOrObservable<string>): IDotInput;
591
- placeholder(value: PrimativeOrObservable<string>): IDotInput;
592
- readOnly(value: PrimativeOrObservable<boolean>): IDotInput;
593
- required(value: PrimativeOrObservable<boolean>): IDotInput;
594
- size(value: PrimativeOrObservable<number>): IDotInput;
595
- src(value: PrimativeOrObservable<string>): IDotInput;
596
- step(value: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotInput;
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: PrimativeOrObservable<string>): IDotInput; // form
599
- value(value: PrimativeOrObservable<string>): IDotInput;
600
- width(value: PrimativeOrObservable<number>): IDotInput;
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: PrimativeOrObservable<string>): IDotIns;
611
- quoteCite(value: PrimativeOrObservable<string>): IDotIns; // alias for cite
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: PrimativeOrObservable<string>): IDotKeyGen;
615
- keyType(value: PrimativeOrObservable<string>): IDotKeyGen;
633
+ challenge(value: AttrVal<string>): IDotKeyGen;
634
+ keyType(value: AttrVal<string>): IDotKeyGen;
616
635
  }
617
636
  interface IDotLabel extends IDotElementDocument<IDotLabel>{
618
- for(value: PrimativeOrObservable<string>): IDotLabel;
637
+ for(value: AttrVal<string>): IDotLabel;
619
638
  }
620
639
  interface IDotLi extends IDotElementDocument<IDotLi>{
621
- value(value: PrimativeOrObservable<number>): IDotLi;
640
+ value(value: AttrVal<number>): IDotLi;
622
641
  }
623
642
  interface IDotMap extends IDotElementDocument<IDotMap>{
624
- name(value: PrimativeOrObservable<string>): IDotMap;
643
+ name(value: AttrVal<string>): IDotMap;
625
644
  }
626
645
  interface IDotMenu extends IDotElementDocument<IDotMenu>{
627
- type(value: PrimativeOrObservable<string>): IDotMenu;
646
+ type(value: AttrVal<string>): IDotMenu;
628
647
  }
629
648
  interface IDotMeter extends IDotElementDocument<IDotMeter>{
630
- high(value: PrimativeOrObservable<number>): IDotMeter;
631
- low(value: PrimativeOrObservable<number>): IDotMeter;
632
- max(value: PrimativeOrObservable<number>): IDotMeter;
633
- min(value: PrimativeOrObservable<number>): IDotMeter;
634
- optimum(value: PrimativeOrObservable<number>): IDotMeter;
635
- value(value: PrimativeOrObservable<number>): IDotMeter;
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: PrimativeOrObservable<string>): IDotObject;
639
- classId(value: PrimativeOrObservable<string>): IDotObject;
640
- codeBase(value: PrimativeOrObservable<string>): IDotObject;
641
- codeType(value: PrimativeOrObservable<string>): IDotObject;
642
- objectData(value: PrimativeOrObservable<string>): IDotObject; // alias for data
643
- declare(value: PrimativeOrObservable<boolean>): IDotObject;
644
- height(value: PrimativeOrObservable<number>): IDotObject;
645
- name(value: PrimativeOrObservable<string>): IDotObject;
646
- standby(value: PrimativeOrObservable<string>): IDotObject;
647
- type(value: PrimativeOrObservable<string>): IDotObject;
648
- useMap(value: PrimativeOrObservable<string>): IDotObject;
649
- width(value: PrimativeOrObservable<number>): IDotObject;
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: PrimativeOrObservable<boolean>): IDotOption;
660
- optionLabel(value: PrimativeOrObservable<string>): IDotOption; // alias for label
661
- selected(value: PrimativeOrObservable<boolean>): IDotOption;
662
- value(value: PrimativeOrObservable<string>): IDotOption;
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: PrimativeOrObservable<string>): IDotOutput;
670
- name(value: PrimativeOrObservable<string>): IDotOutput;
671
- whichForm(value: PrimativeOrObservable<string>): IDotOutput; // alias for form
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: PrimativeOrObservable<string>): IDotParam;
675
- value(value: PrimativeOrObservable<string>): IDotParam;
693
+ name(value: AttrVal<string>): IDotParam;
694
+ value(value: AttrVal<string>): IDotParam;
676
695
  /** @deprecated Deprecated in HTML5. */
677
- valueType(value: PrimativeOrObservable<unknown>): IDotParam;
696
+ valueType(value: AttrVal<unknown>): IDotParam;
678
697
  }
679
698
  interface IDotProgress extends IDotElementDocument<IDotProgress>{
680
- max(value: PrimativeOrObservable<number>): IDotProgress;
681
- value(value: PrimativeOrObservable<number>): IDotProgress;
699
+ max(value: AttrVal<number>): IDotProgress;
700
+ value(value: AttrVal<number>): IDotProgress;
682
701
  }
683
702
  interface IDotQ extends IDotElementDocument<IDotQ>{
684
- quoteCite(value: PrimativeOrObservable<string>): IDotQ; // alias for cite
703
+ quoteCite(value: AttrVal<string>): IDotQ; // alias for cite
685
704
  }
686
705
  interface IDotSelect extends IDotElementDocument<IDotSelect>{
687
- autoFocus(value: PrimativeOrObservable<boolean>): IDotSelect;
688
- disabled(value: PrimativeOrObservable<boolean>): IDotSelect;
689
- multiple(value: PrimativeOrObservable<boolean>): IDotSelect;
690
- name(value: PrimativeOrObservable<string>): IDotSelect;
691
- required(value: PrimativeOrObservable<boolean>): IDotSelect;
692
- size(value: PrimativeOrObservable<number>): IDotSelect;
693
- whichForm(value: PrimativeOrObservable<string>): IDotSelect; // alias for form
694
- value(value: PrimativeOrObservable<string>); // Pseudo attribute for convenience.
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: PrimativeOrObservable<string>): IDotSource;
698
- src(value: PrimativeOrObservable<string>): IDotSource;
699
- type(value: PrimativeOrObservable<string>): IDotSource;
700
- sizes(value: PrimativeOrObservable<string>): IDotSource;
701
- src(value: PrimativeOrObservable<string>): IDotSource;
702
- srcSet(value: PrimativeOrObservable<string>): IDotSource;
703
- type(value: PrimativeOrObservable<string>): IDotSource;
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: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTable;
726
+ border(value: AttrVal<string>|AttrVal<number>): IDotTable;
708
727
  /** @deprecated Deprecated in HTML5. Use CSS. */
709
- cellPadding(value: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTable;
728
+ cellPadding(value: AttrVal<string>|AttrVal<number>): IDotTable;
710
729
  /** @deprecated Deprecated in HTML5. Use CSS. */
711
- cellSpacing(value: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTable;
730
+ cellSpacing(value: AttrVal<string>|AttrVal<number>): IDotTable;
712
731
  /** @deprecated Deprecated in HTML5. Use CSS. */
713
- frame(value: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTable;
732
+ frame(value: AttrVal<string>|AttrVal<number>): IDotTable;
714
733
  /** @deprecated Deprecated in HTML5. */
715
- height(value: PrimativeOrObservable<number>): IDotTable;
734
+ height(value: AttrVal<number>): IDotTable;
716
735
  /** @deprecated Deprecated in HTML5. Use CSS. */
717
- rules(value: PrimativeOrObservable<string>): IDotTable;
736
+ rules(value: AttrVal<string>): IDotTable;
718
737
  /** @deprecated Deprecated in HTML5. */
719
- tableSummary(value: PrimativeOrObservable<string>): IDotTable; // summary
738
+ tableSummary(value: AttrVal<string>): IDotTable; // summary
720
739
  /** @deprecated Deprecated in HTML5. */
721
- width(value: PrimativeOrObservable<number>): IDotTable;
740
+ width(value: AttrVal<number>): IDotTable;
722
741
  }
723
742
  interface IDotTextArea extends IDotElementDocument<IDotTextArea>{
724
- autoFocus(value: PrimativeOrObservable<boolean>): IDotTextArea;
725
- cols(value: PrimativeOrObservable<number>): IDotTextArea;
726
- dirName(value: PrimativeOrObservable<string>): IDotTextArea;
727
- disabled(value: PrimativeOrObservable<boolean>): IDotTextArea;
728
- maxLength(value: PrimativeOrObservable<number>): IDotTextArea;
729
- name(value: PrimativeOrObservable<string>): IDotTextArea;
730
- placeholder(value: PrimativeOrObservable<string>): IDotTextArea;
731
- readOnly(value: PrimativeOrObservable<boolean>): IDotTextArea;
732
- required(value: PrimativeOrObservable<boolean>): IDotTextArea;
733
- rows(value: PrimativeOrObservable<number>): IDotTextArea;
734
- whichForm(value: PrimativeOrObservable<string>): IDotTextArea; // alias for form
735
- wrap(value: PrimativeOrObservable<string>): IDotTextArea;
736
- value(value: PrimativeOrObservable<string>); // Pseudo attribute for convenience.
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: PrimativeOrObservable<unknown>): IDotTBody;
761
+ charOff(value: AttrVal<unknown>): IDotTBody;
741
762
  /** @deprecated Deprecated in HTML5. Use CSS. */
742
- vAlign(value: PrimativeOrObservable<unknown>): IDotTBody;
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: PrimativeOrObservable<string>): IDotTd;
768
+ axis(value: AttrVal<string>): IDotTd;
748
769
  /** @deprecated Deprecated in HTML5. Use CSS. */
749
- char(value: PrimativeOrObservable<string>): IDotTd;
750
- colSpan(value: PrimativeOrObservable<number>): IDotTd;
770
+ char(value: AttrVal<string>): IDotTd;
771
+ colSpan(value: AttrVal<number>): IDotTd;
751
772
  /** @deprecated Deprecated in HTML5. Use CSS. */
752
- charOff(value: PrimativeOrObservable<string>): IDotTd;
753
- headers(value: PrimativeOrObservable<string>): IDotTd;
773
+ charOff(value: AttrVal<string>): IDotTd;
774
+ headers(value: AttrVal<string>): IDotTd;
754
775
  /** @deprecated Deprecated in HTML5. Use CSS. */
755
- noWrap(value: PrimativeOrObservable<boolean>): IDotTd;
756
- rowSpan(value: PrimativeOrObservable<number>): IDotTd;
757
- scope(value: PrimativeOrObservable<string>): IDotTd;
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: PrimativeOrObservable<string>): IDotTd;
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: PrimativeOrObservable<number>): IDotTFoot;
784
+ charOff(value: AttrVal<number>): IDotTFoot;
764
785
  /** @deprecated Deprecated in HTML5. Use CSS. */
765
- vAlign(value: PrimativeOrObservable<string>): IDotTFoot;
786
+ vAlign(value: AttrVal<string>): IDotTFoot;
766
787
  }
767
788
  interface IDotTime extends IDotElementDocument<IDotTime>{
768
- dateTime(value: PrimativeOrObservable<string>): IDotTime;
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: PrimativeOrObservable<string>): IDotTh;
773
- colSpan(value: PrimativeOrObservable<number>): IDotTh;
793
+ axis(value: AttrVal<string>): IDotTh;
794
+ colSpan(value: AttrVal<number>): IDotTh;
774
795
  /** @deprecated Deprecated in HTML5. Use CSS. */
775
- charOff(value: PrimativeOrObservable<string>): IDotTh;
776
- headers(value: PrimativeOrObservable<string>): IDotTh;
777
- rowSpan(value: PrimativeOrObservable<number>): IDotTh;
778
- scope(value: PrimativeOrObservable<string>): IDotTh;
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: PrimativeOrObservable<string>): IDotTh;
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: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTHead;
805
+ charOff(value: AttrVal<string>|AttrVal<number>): IDotTHead;
785
806
  /** @deprecated Deprecated in HTML5. Use CSS. */
786
- vAlign(value: PrimativeOrObservable<string>): IDotTHead;
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: PrimativeOrObservable<string>|PrimativeOrObservable<number>): IDotTr;
811
+ charOff(value: AttrVal<string>|AttrVal<number>): IDotTr;
791
812
  /** @deprecated Deprecated in HTML5. Use CSS. */
792
- vAlign(value: PrimativeOrObservable<string>): IDotTr;
813
+ vAlign(value: AttrVal<string>): IDotTr;
793
814
  }
794
815
  interface IDotTrack extends IDotElementDocument<IDotTrack>{
795
- default(value: PrimativeOrObservable<boolean>): IDotTrack;
796
- kind(value: PrimativeOrObservable<string>): IDotTrack;
797
- src(value: PrimativeOrObservable<string>): IDotTrack;
798
- srcLang(value: PrimativeOrObservable<string>): IDotTrack;
799
- trackLabel(value: PrimativeOrObservable<string>): IDotTrack; // alias for label
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: PrimativeOrObservable<boolean>): IDotVideo;
826
+ autoPlay(value: AttrVal<boolean>): IDotVideo;
806
827
  buffered(value: IObservable<unknown>): IDotVideo; // Managed by browser not user. TODO: we can possibly use events to update observable objects.
807
- controls(value: PrimativeOrObservable<boolean>): IDotVideo;
808
- crossOrigin(value: PrimativeOrObservable<"anonymous">|PrimativeOrObservable<"use-credentials">): IDotVideo;
809
- height(value: PrimativeOrObservable<number>): IDotVideo;
810
- loop(value: PrimativeOrObservable<boolean>): IDotVideo;
811
- muted(value: PrimativeOrObservable<boolean>): IDotVideo;
812
- playsInline(value: PrimativeOrObservable<boolean>): IDotVideo;
813
- poster(value: PrimativeOrObservable<string>): IDotVideo;
814
- preload(value: PrimativeOrObservable<"none">|PrimativeOrObservable<"metadata">|PrimativeOrObservable<"auto">): IDotVideo;
815
- src(value: PrimativeOrObservable<string>): IDotVideo;
816
- width(value: PrimativeOrObservable<number>): IDotVideo;
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;