Is there a way to change the direction of a mat-slide-toggle
from right-to-left to left-to-right without involving the text or label position?
I want the switch itself to be on the right when off and on the left when on. I have considered inverting the value and swapping styles between checked and unchecked states, but I am looking for a simpler solution.
I have checked the API documentation and couldn't find a direct solution. One alternative I thought of is using CSS to mirror the switch position around the halfway point, but I lack expertise in CSS. Can this approach work or is there a more efficient method?
If you have any suggestions, please share. Thank you!