New version 0.9 has been released! Jun 16, 2015
×

Carousel module

Description

Carousel module helps you to create live editable carousel widget.


Include

use yii\easyii\modules\carousel\api\Carousel;


Public functions

string Carousel::widget( $options = [] )
$options array
  • clientOptions (array) - bootstrap js widget options. More info

examples

Carousel::widget();
Bootstrap carousel widget, example IF at least 1 carousel item was created in admin panel.
"" IF carousel is empty.
"<a href="...">Create carousel</a>" IF carousel is empty, and user logged in.