mikoskinen / Blazor.AdaptiveCards

Adaptive Cards for Blazor
https://adaptivecardsblazor.com
MIT License
51 stars 20 forks source link

Does it support if statament? #17

Open atakanyildirim opened 3 years ago

atakanyildirim commented 3 years ago

When ı bind an object which is null, ı get error " is null. Cannot access member:" So ı want to use Conditional evaluation Such as { "type": "TextBlock", "color": "${if(priceChange >= 0, 'good', 'attention')}" } is it possible?