dothtml-interfaces 0.1.19 → 0.1.20
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 +5 -5
package/package.json
CHANGED
package/src/i-dot.d.ts
CHANGED
|
@@ -306,15 +306,15 @@ export interface IDotElementDocument<T extends IDotDocument> extends IDotDocumen
|
|
|
306
306
|
// TODO: we're still missing some additional global attributes. See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/
|
|
307
307
|
accessKey(value: PrimativeOrObservable<string>): T; // This could potentially be enumerated. But care should be taken as these types are already quite complex.
|
|
308
308
|
class(value: unknown): T; // TODO: need a better way of setting classes.
|
|
309
|
-
contentEditable(value: PrimativeOrObservable<"true"
|
|
309
|
+
contentEditable(value: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">|PrimativeOrObservable<"plaintext-only">): T;
|
|
310
310
|
dir(value: PrimativeOrObservable<string>): T;
|
|
311
|
-
draggable(value: PrimativeOrObservable<"true"
|
|
311
|
+
draggable(value: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">): T; // This one is enumerated. "true" or "false" is mandatory.
|
|
312
312
|
dropZone(value: "move"|"copy"|"link"): T; // Might not be supported anywhere.
|
|
313
313
|
hidden(value: PrimativeOrObservable<boolean>): T;
|
|
314
314
|
id(value: string): T;
|
|
315
315
|
itemProp(value: PrimativeOrObservable<string>): T;
|
|
316
316
|
lang(value: PrimativeOrObservable<string>): T;
|
|
317
|
-
spellCheck(value: PrimativeOrObservable<"true"
|
|
317
|
+
spellCheck(value: PrimativeOrObservable<"true">|PrimativeOrObservable<"false">): T; // This one should ideally render as "true" or "false", not be removed.
|
|
318
318
|
style(value: string|IDotcssProp): T;
|
|
319
319
|
tabIndex(value: PrimativeOrObservable<number>): T;
|
|
320
320
|
title(value: PrimativeOrObservable<string>): T;
|
|
@@ -415,7 +415,7 @@ interface IDotAudio extends IDotElementDocument<IDotAudio>{
|
|
|
415
415
|
controls(value: PrimativeOrObservable<boolean>): IDotAudio;
|
|
416
416
|
loop(value: PrimativeOrObservable<boolean>): IDotAudio;
|
|
417
417
|
muted(value: PrimativeOrObservable<boolean>): IDotAudio;
|
|
418
|
-
preload(value: PrimativeOrObservable<"auto"
|
|
418
|
+
preload(value: PrimativeOrObservable<"auto">|PrimativeOrObservable<"metadata">|PrimativeOrObservable<"none">): IDotAudio;
|
|
419
419
|
src(value: PrimativeOrObservable<string>): IDotAudio;
|
|
420
420
|
|
|
421
421
|
// Special functions:
|
|
@@ -579,7 +579,7 @@ interface IDotInput extends IDotElementDocument<IDotInput>{
|
|
|
579
579
|
step(value: unknown): IDotInput;
|
|
580
580
|
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;
|
|
581
581
|
whichForm(value: unknown): IDotInput; // form
|
|
582
|
-
value(value: PrimativeOrObservable<string
|
|
582
|
+
value(value: PrimativeOrObservable<string>): IDotInput;
|
|
583
583
|
width(value: PrimativeOrObservable<number>): IDotInput;
|
|
584
584
|
|
|
585
585
|
// Special functions:
|