我使用ngx-notification-bar实现了一个通知栏

在app.component.ts文件中,有以下代码部分
this.notificationBarService.create({ message: 'Free Shipping on Order above RM 150', type: NotificationType.Info, allowClose: true, autoHide: false, hideOnHover: false });在app.component.html中
<notification-bar></notification-bar>我需要更改文本的样式、背景颜色以及通知栏中X的位置。有没有人能告诉我怎么换发型?
发布于 2021-10-08 04:10:34
使用isHtml属性更改文本样式,传递带有html标记的消息
https://stackoverflow.com/questions/69490330
复制相似问题