Hi,
I can’t find Switch/When in L&L conditional as it exists in CCS, can be handy in certain contexts.
Do you plan to implement it or is it abandonned ?
Best regards
Emmanuel
Hi,
I can’t find Switch/When in L&L conditional as it exists in CCS, can be handy in certain contexts.
Do you plan to implement it or is it abandonned ?
Best regards
Emmanuel
Good idea, it should be pretty easy to implement Switch/When, as a shortcut for a series of If/Else statements. Will post here when it’s ready.
Good news, thanks for caring.
Hi @eliot,
May i ask if you found the time/possibility to add switch to L&L please?
Thanks for your feedback
Looking forward to using switch with L&L too!
Hello! The Switch/When tags were actually included in a version a while ago, and I finally found the time to document them.
https://loop.tangible.one/tags/if/switch-and-when
They have a slightly different syntax and behavior than in CCS. Hopefully it’s more flexible, but there may be use cases that need to be supported/improved.