mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
15 lines
321 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|
|
}
|