mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
d2d635b94d
commit
08f2cc9236
@@ -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
|
||||
/*
|
||||
|
Reference in New Issue
Block a user