-
Notifications
You must be signed in to change notification settings - Fork 37
Description
I know we can set css per variable type and that's great, my suggestion goes in the way of dynamically 'painting' objects by our "own-custom" rules, see below one example of what I'm suggesting to:
One property is an array and the entries having a property of is_mandatory? If the answer is YES then I want to apply one css for all the properies on this object entry, another in case of NO.
[
{"object": "fork", "is_mandatory": true}, --> Paint all this entry in red, overriding the css property for the generic usage
{"object": "spoon", "is_mandatory": false} , --> Paint all this entry in gray, overriding the css property for the generic usage
{"object": "knife", "is_mandatory": false} --> Paint all this entry in gray, overriding the css property for the generic usage
]