Skip to content

Commit e14ce89

Browse files
committed
carousel block: added OwlCarousel
1 parent e955962 commit e14ce89

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
namespace nullref\cms\assets\owlCarousel;
4+
5+
use yii\web\AssetBundle;
6+
7+
class OwlCarousel2 extends AssetBundle
8+
{
9+
public $sourcePath = '@bower/owl.carousel/dist';
10+
11+
public $css = [
12+
'assets\owl.carousel.css',
13+
'assets\owl.theme.default.css',
14+
];
15+
16+
public $js = [
17+
'owl.carousel.js'
18+
];
19+
20+
public $depends = [
21+
'yii\web\JqueryAsset',
22+
];
23+
24+
25+
}

0 commit comments

Comments
 (0)