1

Since in jQuery mobile, it adds some class to a component, everything looks nice. But when I update the array in AugularJS, the content appears on the page but doesn't get the classes jQuery adds.

So I want to refresh the component AFTER the view is updated, not after the value is changed. How can I do that?

Erica Xu
  • 545
  • 1
  • 4
  • 13

1 Answers1

1

Since it's a list view, trigger a refresh:

$('#mylistID').listview('refresh');
tymeJV
  • 103,943
  • 14
  • 161
  • 157