Created
January 30, 2021 22:17
-
-
Save LuiseFreese/feb49003c05e3d399bf4eaccf6cad142 to your computer and use it in GitHub Desktop.
RainbowHeartList
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", | |
"elmType": "div", | |
"children": [ | |
{ | |
"elmType": "span", | |
"txtContent": "💛", | |
"style": { | |
"display": "=if([$RatingElio] >= 1, 'inherit','none'" | |
} | |
}, | |
{ | |
"elmType": "span", | |
"txtContent": "🧡", | |
"style": { | |
"display": "=if([$RatingElio] >= 2, 'inherit','none'" | |
} | |
}, | |
{ | |
"elmType": "span", | |
"txtContent": "💖", | |
"style": { | |
"display": "=if([$RatingElio] >= 3, 'inherit','none'" | |
} | |
}, | |
{ | |
"elmType": "span", | |
"txtContent": "💜", | |
"style": { | |
"display": "=if([$RatingElio] >= 4, 'inherit','none'" | |
} | |
}, | |
{ | |
"elmType": "span", | |
"txtContent": "💙", | |
"style": { | |
"display": "=if([$RatingElio] >= 5, 'inherit','none'" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment