dothtml-interfaces 0.3.7 → 0.3.9
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 +4 -2
package/package.json
CHANGED
package/src/i-dot.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ type AttrVal<T = string | number | boolean> = T | IReactive<T>;
|
|
|
16
16
|
*/
|
|
17
17
|
export interface IDotDocument {
|
|
18
18
|
// Creating a blank DotDocument.
|
|
19
|
-
(document?: Element, classPrefix?: number, targetWindow?: Window
|
|
19
|
+
(document?: Element, classPrefix?: number, targetWindow?: Window): void;
|
|
20
20
|
|
|
21
21
|
// Internal use only:
|
|
22
22
|
// Removed in v6.
|
|
@@ -394,10 +394,12 @@ export interface IDotWindowWrapper{
|
|
|
394
394
|
window: Window;
|
|
395
395
|
document: Document;
|
|
396
396
|
title: string;
|
|
397
|
+
width: number;
|
|
398
|
+
height: number;
|
|
397
399
|
}
|
|
398
400
|
|
|
399
401
|
export interface IDotWindowBuilder {
|
|
400
|
-
(options: {content: IDotDocument, width
|
|
402
|
+
(options: {content: IDotDocument, width?: number, height?: number, title?: string}): IDotWindowWrapper;
|
|
401
403
|
}
|
|
402
404
|
|
|
403
405
|
export interface IDotConditionalDocument extends IDotDocument {
|