Monaca Onsen UI Discord Chat Github Repo

How to add an onsen-ui modifier to javascript

  • I have the following line of code snip:

    var item = document.createElement('ons-list-item');

    I would like to add a modifier to the code so that each dynamically listed item would have a ‘chevron’. I’ve tried a variety of techniques, but I can’t get it to work. I’ve also searched stack overflow, this community, looked at the references and tutorial, but I can’t find, or maybe, understand an answer. Could some kind person show me how this is done?