src/app/component/notification/notification-container.ts
BasePortalOutlet
| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| host | { |
| moduleId | module.id |
| selector | notification-container |
| styleUrls | notification-container.scss |
| templateUrl | notification-container.html |
Properties |
|
Methods |
constructor(_ngZone: NgZone, _elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef)
|
||||||||||||
|
Parameters :
|
| Private _assertNotAttached |
_assertNotAttached()
|
|
Returns :
void
|
| Private _completeExit |
_completeExit()
|
|
Returns :
void
|
| attachComponentPortal | ||||||
attachComponentPortal(portal: ComponentPortal
|
||||||
Type parameters :
|
||||||
|
Parameters :
Returns :
ComponentRef<T>
|
| attachTemplatePortal | ||||||
attachTemplatePortal(portal: TemplatePortal
|
||||||
Type parameters :
|
||||||
|
Parameters :
Returns :
EmbeddedViewRef<C>
|
| enter |
enter()
|
|
Returns :
void
|
| exit |
exit()
|
|
Returns :
Observable<void>
|
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|
| onAnimationEnd | ||||||
onAnimationEnd(event: AnimationEvent)
|
||||||
|
Parameters :
Returns :
void
|
| _animationState |
Type : string
|
Default value : 'void'
|
| Private _destroyed |
Default value : false
|
| Readonly _onEnter |
Type : Subject<any>
|
Default value : new Subject()
|
| Readonly _onExit |
Type : Subject<any>
|
Default value : new Subject()
|
| _portalOutlet |
Type : CdkPortalOutlet
|
Decorators :
@ViewChild(CdkPortalOutlet, {static: false})
|
| notificationConfig |
Type : NotificationConfig
|
notification-container.scss