dothtml-interfaces 0.1.10 → 0.1.11
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 +9 -13
package/package.json
CHANGED
package/src/i-dot.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ export interface IDotCore extends IDotDocument
|
|
|
235
235
|
bus: IEventBus;
|
|
236
236
|
window: IDotWindowBuilder;
|
|
237
237
|
|
|
238
|
-
observe<Ti extends IObservable|Array<any>|{[key: string|number]: any}|string|number|boolean = any, To = Ti>(props
|
|
238
|
+
observe<Ti extends IObservable|Array<any>|{[key: string|number]: any}|string|number|boolean = any, To = Ti>(props?: {value: Ti, key?: string, transformer?: (value: Ti)=>To}): IObservable<Ti, To>;
|
|
239
239
|
|
|
240
240
|
component<T extends {new(...args: any[]): (IComponent)}>(ComponentClass: T): T&{new(...args: any[]): ({$: FrameworkItems})};
|
|
241
241
|
}
|
|
@@ -579,9 +579,8 @@ interface IDotInput extends IDotElementDocument<IDotInput>{
|
|
|
579
579
|
width(value: unknown): IDotInput;
|
|
580
580
|
|
|
581
581
|
// Special functions:
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
setVal(value: unknown): IDotInput;
|
|
582
|
+
// getVal(): string
|
|
583
|
+
// setVal(value: unknown): IDotInput;
|
|
585
584
|
|
|
586
585
|
// Input-specific events:
|
|
587
586
|
onSearch(callback: (e: Event)=>void): IDotInput;
|
|
@@ -644,9 +643,8 @@ interface IDotOption extends IDotElementDocument<IDotOption>{
|
|
|
644
643
|
value(value: unknown): IDotOption;
|
|
645
644
|
|
|
646
645
|
// Special functions:
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
setVal(value: unknown): IDotOption;
|
|
646
|
+
// getVal(): string;
|
|
647
|
+
// setVal(value: unknown): IDotOption;
|
|
650
648
|
}
|
|
651
649
|
interface IDotOutput extends IDotElementDocument<IDotOutput>{
|
|
652
650
|
for(value: unknown): IDotOutput;
|
|
@@ -675,9 +673,8 @@ interface IDotSelect extends IDotElementDocument<IDotSelect>{
|
|
|
675
673
|
whichForm(value: unknown): IDotSelect; // form
|
|
676
674
|
|
|
677
675
|
// Special functions:
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
setVal(value: unknown): IDotSelect;
|
|
676
|
+
// getVal(): string;
|
|
677
|
+
// setVal(value: unknown): IDotSelect;
|
|
681
678
|
}
|
|
682
679
|
interface IDotSource extends IDotElementDocument<IDotSource>{
|
|
683
680
|
media(value: unknown): IDotSource;
|
|
@@ -715,9 +712,8 @@ interface IDotTextArea extends IDotElementDocument<IDotTextArea>{
|
|
|
715
712
|
wrap(value: unknown): IDotTextArea;
|
|
716
713
|
|
|
717
714
|
// Special functions:
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
setVal(value: unknown): IDotTextArea;
|
|
715
|
+
// getVal(): string;
|
|
716
|
+
// setVal(value: unknown): IDotTextArea;
|
|
721
717
|
}
|
|
722
718
|
interface IDotTBody extends IDotElementDocument<IDotTBody>{
|
|
723
719
|
/** @deprecated Deprecated in HTML5. Use CSS. */
|