Appearance and Styling

10 Apr 20171 minute to read

Adjusting rotator item size

SlideWidth

This property sets the Width of a Rotator Item. The value set to this property is string or number.

  • CSHTML
  • <ej-rotator id="rot" datasource="ViewBag.datasource" slide-height="350px"  slide-width="600px" is-responsive="true">
        <e-rotator-fields text="text" url="url" />
    </ej-rotator

    SlideHeight

    This property sets the Height of a Rotator Item. The value set to this property is string or number.

  • CSHTML
  • <ej-rotator id="rot" datasource="ViewBag.datasource" slide-height="350px"  slide-width="600px" is-responsive="true">
        <e-rotator-fields text="text" url="url" />
    </ej-rotator