Closed tnusraddinov closed 8 years ago
Hi, I am trying to update text of existing PNotify object like
var a = new PNotify({ title: 'Info', text: 'Line1 \<br> Line2', hide: false });
Result: 'Info' Line1 Line2
To update text I am doing this: a.text_container.text('Line1 \<br> Line2');
a.text_container.text('Line1 \<br> Line2');
Result: Info Line1 Line2
How to update it with 2 lines? Thanks
Ok I found solution: a.update("line1 \<br> line2"); :)
a.update("line1 \<br> line2");
Hi, I am trying to update text of existing PNotify object like
Result: 'Info' Line1 Line2
To update text I am doing this:
a.text_container.text('Line1 \<br> Line2');
Result: Info Line1
Line2
How to update it with 2 lines? Thanks