m12/neos-nodetype-slickcarousel
最新稳定版本:v1.0.0
Composer 安装命令:
composer require m12/neos-nodetype-slickcarousel
包简介
Slick carousel for Neos CMS
README 文档
README
Slick Carousel node type for Neos CMS.
Installation
- Install this Neos plugin via composer:
composer require m12/neos-nodetype-slickcarousel:dev-master
-
Install Slick code in your site package. Refer to Slick documentation for details, you will need to include
slick.js,slick.cssand perhapsslick-theme.cssto your page. -
Add the following code to the end of BODY tag:
$(document).ready(function () {
var slickEl = $('.m12-slickcarousel-slick');
$(slickEl).on('init', function(event, slick) {
// Support non-standard 'nextOnClick' option:
if (slick.slickGetOption('nextOnClick')) {
$(slick.$slider).on('click', function() {
slick.slickNext();
});
}
});
// Initialise Slick
$(slickEl).slick();
});
Also see the Pb.Site site package for a complete example of how to install it with npm/gulp.
Author(s)
- Marcin Ryzycki marcin@m12.io
Licensed under: The MIT License (MIT)
Sponsored by PrototypeBrewery.io - the new prototyping tool for building fully interactive prototypes of your website or web app. Built on top of Neos CMS and Zurb Foundation framework.
统计信息
- 总下载量: 1.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-17