Enable RTL

17 Feb 20221 minute to read

Switch component has RTL support. This can be achieved by setting enableRtl as true.

The following example illustrates how to enable right-to-left support in Switch component.

@Html.EJS().Switch("default").EnableRtl(true).Render()
public ActionResult Default()
    {
            return View();
    }