Can you post your code? And also this code should be used when you are populating your label from the REST Service. Unless you have some static text (with line breaks) which you need to show in a label component
Can you post your code? And also this code should be used when you are populating your label from the REST Service. Unless you have some static text (with line breaks) which you need to show in a label component
here's a sample - all it does is to populate a label component with 3 lines (with breaks)
https://www.dropbox.com/s/pt3blbwggir...
Remember not to rename this project before you test.
The code is just this
And also change the name of the label control to your label control name
code
//this is your HTML code
var html = "1st line<br/>2nd line<br/>3rd line"
//Set HTML to labelName component.
Apperyio("labelCtrl").html(html);
/code
ok!thanks so much~ I will try that.
can you provide your email,if I meet another question can seek help from you?