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