Search results

Right-To-Left

Button 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 Button component.

razor
rtl.cs
@Html.EJS().Button("rtl").Content("Settings").IconCss("e-icons e-setting-icon").EnableRtl(true).Render()

<style>

button {
  margin: 25px 5px 20px 20px;
}

.e-setting-icon::before {
  content: '\e7cf';
}

</style>
public ActionResult rtl()
{
    return View();
}