Page 1 of 1

Change the value of countbubble (list component) in JS

Posted: Fri Jun 20, 2014 6:59 pm
by Cody Blue

I want to set the value of countbubble in listItems via JS in the output response mapping of a REST service. I've checked the documentation but haven't found this. How may I proceed?

The pseudocode for output service mapping is below:

function(value, element) {
element.ui_li_count.text = 10;
}


Change the value of countbubble (list component) in JS

Posted: Fri Jun 20, 2014 8:33 pm
by Kateryna Grynko

Hello,

Use the following code please:preelement.find(".ui-li-count").text(value);/pre