Clarity: How to display label ahead of toggle switch button?

Created on 21 Apr 2020  路  3Comments  路  Source: vmware/clarity

Current show:
(Toggle switch button) Option1

Is there a way to show like below style?

Option1 (Toggle switch button)

website

Most helpful comment

To accomplish this, you'll need to add the clr-toggle-right class to the container to shift their positioning. We don't have a documented example of this, so I'll leave this open to document.

<clr-toggle-container class="clr-toggle-right">
...
</clr-toggle-container>

All 3 comments

To accomplish this, you'll need to add the clr-toggle-right class to the container to shift their positioning. We don't have a documented example of this, so I'll leave this open to document.

<clr-toggle-container class="clr-toggle-right">
...
</clr-toggle-container>

To accomplish this, you'll need to add the clr-toggle-right class to the container to shift their positioning. We don't have a documented example of this, so I'll leave this open to document.

<clr-toggle-container class="clr-toggle-right">
...
</clr-toggle-container>

mistake to close.

Was this page helpful?
0 / 5 - 0 ratings