@wildebeest/boxlayout
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -8,3 +8,3 @@ "use strict"; | ||
viewportService.getEmitter().on('change', function (event) { | ||
_this.setMax(event.vertical); | ||
_this.setMax(event.height); | ||
}); | ||
@@ -11,0 +11,0 @@ } |
@@ -8,3 +8,3 @@ "use strict"; | ||
viewportService.getEmitter().on('change', function (event) { | ||
_this.setMax(event.horizontal); | ||
_this.setMax(event.width); | ||
}); | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "@wildebeest/boxlayout", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "Box Layout module for creating fullscreen admin enviroments", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,3 +13,3 @@ import { ViewportService } from "@wildebeest/common"; | ||
viewportService.getEmitter().on('change', (event: any) => { | ||
this.setMax(event.vertical); | ||
this.setMax(event.height); | ||
}); | ||
@@ -16,0 +16,0 @@ } |
@@ -13,3 +13,3 @@ import { ViewportService } from "@wildebeest/common"; | ||
viewportService.getEmitter().on('change', (event: any) => { | ||
this.setMax(event.horizontal); | ||
this.setMax(event.width); | ||
}); | ||
@@ -16,0 +16,0 @@ } |
@@ -28,4 +28,4 @@ import 'ts-jest'; | ||
viewportService.getEmitter().emit('change', { | ||
vertical: 400, | ||
horizontal: 900 | ||
height: 400, | ||
width: 900 | ||
}); | ||
@@ -32,0 +32,0 @@ |
@@ -28,4 +28,4 @@ import 'ts-jest'; | ||
viewportService.getEmitter().emit('change', { | ||
vertical: 80, | ||
horizontal: 100 | ||
height: 80, | ||
width: 100 | ||
}); | ||
@@ -32,0 +32,0 @@ |
@@ -17,4 +17,4 @@ import 'ts-jest'; | ||
viewportService.getEmitter().emit("change", { | ||
vertical: 200, | ||
horizontal: 300 | ||
height: 200, | ||
width: 300 | ||
}); | ||
@@ -31,4 +31,4 @@ | ||
viewportService.getEmitter().emit("change", { | ||
vertical: 200, | ||
horizontal: 300 | ||
height: 200, | ||
width: 300 | ||
}); | ||
@@ -35,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121078