UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

16 lines (15 loc) 862 B
import { OnInit } from '@angular/core'; import { NotificationPreference, UserNotificationPreferenceService } from '@spartacus/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class NotificationPreferenceComponent implements OnInit { private notificationPreferenceService; preferences$: Observable<NotificationPreference[]>; isLoading$: Observable<boolean>; protected preferences: NotificationPreference[]; constructor(notificationPreferenceService: UserNotificationPreferenceService); ngOnInit(): void; updatePreference(preference: NotificationPreference): void; static ɵfac: i0.ɵɵFactoryDeclaration<NotificationPreferenceComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NotificationPreferenceComponent, "cx-notification-preference", never, {}, {}, never, never>; }