[ADF-1412] Viewer enhancements (#2873)

* collection navigation support for Viewer

* code cleanup

* full screen mode support

* keyboard shortcuts

* zooming scale label

* layout fixes

* test fixes

* image toolbar with basic tranformations

* test fixes

* test fixes
This commit is contained in:
Denys Vuika
2018-01-28 23:01:01 +00:00
committed by Eugenio Romano
parent d2d635b94d
commit 08f2cc9236
16 changed files with 358 additions and 45 deletions

View File

@@ -24,6 +24,13 @@ export class EventMock {
document.dispatchEvent(event);
}
static keyUp(key: any) {
let event: any = document.createEvent('Event');
event.keyCode = key;
event.initEvent('keyup');
document.dispatchEvent(event);
}
static resizeMobileView() {
// todo: no longer compiles with TS 2.0.2 as innerWidth/innerHeight are readonly fields
/*