UNPKG

@anglr/notifications

Version:
22 lines 1.11 kB
import { OnChanges, SimpleChanges } from '@angular/core'; import { NotificationsComponent } from '../../components'; import { NotificationMessageOptions } from '../../common/notifications.interface'; import * as i0 from "@angular/core"; /** * Directive used for providing message options directly to notifications */ export declare class MessageOptionsNotificationsDirective implements OnChanges { protected _notifications: NotificationsComponent; /** * Message options passed to message instance */ messageOptions: NotificationMessageOptions; constructor(_notifications: NotificationsComponent); /** * Called when input value changes */ ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<MessageOptionsNotificationsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<MessageOptionsNotificationsDirective, "notifications[messageOptions]", never, { "messageOptions": { "alias": "messageOptions"; "required": true; }; }, {}, never, never, true, never>; } //# sourceMappingURL=messageOptionsNotifications.directive.d.ts.map