Skip to content

Custom Template didn't show dismiss button #218

Description

@th3conc3pt3ur

Hi there,
I give a try to this lib and i'm pretty happy with it ! But i've a little trouble to customize it.

I use a custom template for angular-notifier for adding icon.
When i'm using builtin template i got the dismiss button , but when a use my custom template this button disappears
Custom template :
image

Builtin :
image

My custom template :

<ng-template #customTemplate let-notification="notification">
    <div>
        <fa-icon *ngIf="notification.type == 'error'" [icon]="faExclamationTriangle"></fa-icon> {{ notification.message }}
    </div>
</ng-template>

Should i add this button manually ? if yes how ?
Thx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIndicates that this issue / PR needs to be discussed in detail before further steps can be takentype: bugIndicates an unintended behaviour, unexpected problem, crashtype: featureIndicates a feature or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions