angular2-notifications icon indicating copy to clipboard operation
angular2-notifications copied to clipboard

Template context

Open Abenezer opened this issue 7 years ago • 1 comments

how are we suppose to pass context to template.

<ng-template #example let-name>
Hello {{name}} The notification service accept temlate refrence, if it could accept embeded viewreference we could do it like this.notificationService.success (this.example.createEmbededView ({name: 'joe'})) with out context the template view is almost useless cos it only displays same content for every notification

Abenezer avatar Apr 14 '18 04:04 Abenezer

My bad.... there is a better pull request #274 just for that! when is it going to be merged? since the PR is 9 commits behind am using my own fork just for this. please merge it soon,

Abenezer avatar Apr 14 '18 04:04 Abenezer