Closed gilhanan closed 7 years ago
Alternative for pull requests #63 and #64, and admittedly this one is my favorite implementation.
What kind of change does this PR introduce? Close: https://github.com/akserg/ng2-toasty/issues/3
What is the current behavior? (You can also link to an open issue here) Not supporting 'html' content in toasts
What is the new behavior (if this is a feature change)? Supporting ability to projecting 'html' templates in toasts
Other information: Testings using this branch: ng2-webpack-demo/toasty-html-content
Using that code:
options = { title: 'HTML title: <span style="background-color: #1EAEDB; color: #E1CB00;">Toast It!</span>', msg: 'HTML message: <span style="background-color: #FF0039; color: #00E104;">Mmmm, tasties...</span>' }; this.toastyService.default(toastOptions);
Gives the result:
I would happy to review and discussing
Nice, any chance to have this pulled in master?
Hi Gil,
That solution much better than in pull requests #63 and #64.
Thank you for your valuable input.
@akserg thanks :)
Alternative for pull requests #63 and #64, and admittedly this one is my favorite implementation.
What kind of change does this PR introduce? Close: https://github.com/akserg/ng2-toasty/issues/3
What is the current behavior? (You can also link to an open issue here) Not supporting 'html' content in toasts
What is the new behavior (if this is a feature change)? Supporting ability to projecting 'html' templates in toasts
Other information: Testings using this branch: ng2-webpack-demo/toasty-html-content
Using that code:
Gives the result:
I would happy to review and discussing