In my application, I need to display ul users with their identifiers in the class attribute of li. S I tried to do it as follows:
Marionette.ItemView.extend({
tagName: 'li',
className: this.model.get('user_id'),
template: userTpl
});
But that did not work. Can this be achieved in any other way?
source
share