Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
477 B

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { Injectable } from '@angular/core';
export const TempServiceFactory = () => {
return new TempService();
};
@Injectable()
export class TempService {
private value: any = null;
public put(value: any) {
this.value = value;
}
public fetch() {
const result = this.value;
this.value = null;
return result;
}
}