AO
Size: a a a
AO
AO
RS
AO
RS
AO
AO
AK
AK
AO
AO
AK
AO
AO
AO
AO
AK
YG
VV
import { Injectable, Inject, PLATFORM_ID } from '@angular/core';
import { isPlatformBrowser } from '@angular/common';
export class FeatureComponent implements OnInit{
constructor(@Inject(PLATFORM_ID) private platform: any) { }
ngOnInit() {
if (isPlatformBrowser(this.platform)) {
// use localStorage API
}
}
}