Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd70581

Browse files
committed
refactor(toaster): provide ToasterService for ToasterComponent instead of root
1 parent35c6d2a commitbd70581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎projects/coreui-angular/src/lib/toast/toaster/toaster.component.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ export type TToasterPlacement =
5555
host:{
5656
class:'toaster toast-container',
5757
'[class]':'hostClasses()'
58-
}
58+
},
59+
providers:[ToasterService]
5960
})
6061
exportclassToasterComponentimplementsOnInit{
6162
readonly #hostElement=inject(ElementRef);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp