RTL Support
8 Aug 20171 minute to read
EnableRTL feature supports to change the left-to-right alignment of the Rotator to right-to-left (RTL). (I.e.) Sets the Rotator to do its actions from right to left. The EnableRTL property sets the Rotator from right to left. The value set to this property is Boolean type.
/ / Add this code in your CSHTML page and refer local data section for binding Rotator items.
@Html.EJ().Rotator("sliderContent").Datasource((IEnumerable<LocalData>)ViewBag.datasource)
.RotatorFields(t => t.Text("Text").Url("Url"))
.SlideWidth("600px").SlideHeight("350px")
.EnableRTL(true)