×
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 |
|
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. |