vue-toast icon indicating copy to clipboard operation
vue-toast copied to clipboard

Add configurable toast

Open matewiszt opened this issue 7 years ago • 5 comments

Add toast-content component to make the content more configurable and suitable for accepting HTML markup, not only text.

matewiszt avatar Apr 03 '18 12:04 matewiszt

Thank you for pull request! I check this soon.

AStaroverov avatar Apr 06 '18 00:04 AStaroverov

Thank you in advance for your feedback!

matewiszt avatar Apr 09 '18 08:04 matewiszt

It was tested? This part looks like incorrect. And i dont understand than ToastContent better v-html. If u want use custom toasts it incorrect implementation.

AStaroverov avatar Apr 16 '18 15:04 AStaroverov

Yes, I use it in a project like that. It is not about better understanding but if you use v-html, the message will be inserted into a span tag but if you want to insert a markup and not only a plain text, another component is more useful. Of course, if you don't think it is useful, just leave it as it is. It is just a possibility ;)

matewiszt avatar Apr 18 '18 15:04 matewiszt

But regarding the correctness: you were right that I accidentally ommitted the templating curly brackets from the message props, now it is fixed.

matewiszt avatar Apr 18 '18 15:04 matewiszt