Switch Case

A Switch Case is a simple programming concept.

EXPERIMENTAL This will likely be most useful in SA6 if reactive techniques are included.

Best Practices

Designer Experience

To create the best experience in the designer, you want your

<style>
[wfu-switch-case] {
  display: none;
}
html:not([data-wf-domain]) [wfu-switch-case] {
  display: block;
}
</style>

wfu-switch-case

wfu-switch

either wrapper or on same element

Hide all

Show one when set

Future

Make it Reactive

Last updated

Was this helpful?