shlomiassaf / ngx-modialog

Modal / Dialog for Angular
http://shlomiassaf.github.io/ngx-modialog
MIT License
686 stars 242 forks source link

HTML support with vex #269

Open altschuler opened 7 years ago

altschuler commented 7 years ago

I'm submitting a ... [ ] bug report [x] feature request [ ] question about the decisions made in the repository

What is the motivation / use case for changing the behavior? When using Vex, only .content(...) is exposed but it does not support HTML content. Vex supports HTML content through unsafeMessage (docs)

I suggest either supporting HTML content through .content(..., true) where the second argument is a "use HTML" flag, or creating a new method .contentHTML(...).

shlomiassaf commented 7 years ago

Can you please write a well defined proposal so we can discuss?