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

25 lines
458 B
TypeScript

import { Action } from "@ngrx/store";
export class HeaderActions {
static COLLAPSE = 'dspace/header/COLLAPSE';
static collapse(): Action {
return {
type: HeaderActions.COLLAPSE
}
}
static EXPAND = 'dspace/header/EXPAND';
static expand(): Action {
return {
type: HeaderActions.EXPAND
}
}
static TOGGLE = 'dspace/header/TOGGLE';
static toggle(): Action {
return {
type: HeaderActions.TOGGLE
}
}
}