Appearance and Styling

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