Skip to content

Support for custom notification content (template, component) #37

@ghost

Description

Hi Guys,

I wonder if we could do NG selector tags on snotifyService.html method.
like this one.

this.snotifyService.html( <div class="snotifyToast__title" *ngIf="toast.title"> <ng-notifiersomethinghere> </ng-notifiersomethinghere> </div> </div>
, {
timeout: this.timeout,
showProgressBar: this.progressBar,
closeOnClick: this.closeClick,
pauseOnHover: this.pauseHover,
});

for better and cleaner code and component reusability.

Just an inquiry

Thanks,
Jojie Palahang

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIndicates that this issue / PR needs to be discussed in detail before further steps can be takentype: featureIndicates a feature or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions