Files
dspace-angular/src/app/shared/host-window.actions.ts
2016-12-12 16:02:27 +01:00

15 lines
321 B
TypeScript

import { Action } from "@ngrx/store";
export class HostWindowActions {
static RESIZE = 'dspace/host-window/RESIZE';
static resize(newWidth: number, newHeight: number): Action {
return {
type: HostWindowActions.RESIZE,
payload: {
width: newWidth,
height: newHeight
}
}
}
}