Closed abakal closed 7 years ago
Hello,
Could you tell me how to get value from detail-field of widget with the rivet.js? To proceed something like that:
rivets.binders['status-color'] = function(el, value) { if (value == detail) { $(el).css('background-color', 'green'); } else if (value < detail) { $(el).css('background-color', 'orange'); } else { $(el).css('background-color', 'red'); } };
Thank you beforehand. Andrei B.
Hello,
Could you tell me how to get value from detail-field of widget with the rivet.js? To proceed something like that:
Thank you beforehand. Andrei B.