You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to show some customizing view inside of notification container, and I have define a ng-template with alias. and my ng-template need more complex data model to show.
currently, the angular-notifier only can pass notification object with only has type, message, id field, and using let-notification="notification" to pass the data.
how to support customizing data model like 'let-customData="customData"',
customData is include like
{
"title", "description", "icon", ....
}
can you support that?
BR,
June
The text was updated successfully, but these errors were encountered:
and another question is how to set background color for notification container, now, it only have error/defalut/info/... type. and the background color can not set by ourself.
@sapxiaojun0226 I reached the custom data by merely extending the interface NotifierNotificationOptions and then in template I could access needed fields. Note, that IDE (VS code in my case) doesn't prompt me the fields, but it compiles and works ok.
Hi all,
I want to show some customizing view inside of notification container, and I have define a ng-template with alias. and my ng-template need more complex data model to show.
currently, the angular-notifier only can pass notification object with only has type, message, id field, and using
let-notification="notification"
to pass the data.how to support customizing data model like '
let-customData="customData"
',customData is include like
{
"title", "description", "icon", ....
}
can you support that?
BR,
June
The text was updated successfully, but these errors were encountered: