Search results

Enable RTL

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.

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