项目作者: HTMLElements

项目描述 :
Carousel Custom Element
高级语言: CSS
项目地址: git://github.com/HTMLElements/smart-carousel.git
创建时间: 2018-11-27T10:19:31Z
项目社区:https://github.com/HTMLElements/smart-carousel

开源协议:Apache License 2.0

下载


Smart Carousel Element Tweet

Slack
Price
@smarthtmlelements/smart-carousel">npm
GitHub package version
License: APACHE

Published on webcomponents.org

Live Demo ↗
|
Documentation ↗
|
@smarthtmlelements/smarthtmlelements-core">Installation ↗

](https://htmlelements.com/demos/carousel/) is a Custom HTML Element providing slide show/banner rotator.

  1. <smart-carousel id="carouselSquare" auto-play slide-show loop hide-indicators keyboard display-mode="3d" interval="10000"></smart-carousel>

Screenshot of smart-carousel

Getting Started

Smart HTML Elements components documentation includes getting started, customization and api documentation topics.

Getting Started Documentation

The file structure for Smart HTML Elements

  • source/

    Javascript files.

  • source/styles/

    Component CSS Files.

  • demos/

    Demo files

Running demos in browser

  1. Fork the Smart-HTML-Elements-Core repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the Smart-HTML-Elements-Core directory, run npm install and then bower install to install dependencies.

  4. Run a localhost or upload the demo on a web server. Then run:

    • /demos/smart-carousel/smart-carousel-overview.htm

Following the coding style

We are using ESLint for linting JavaScript code.

Creating a pull request

  • Make sure your code is compliant with ESLint
  • Submit a pull request with detailed title and description
  • Wait for response from one of our team members

License

Apache License 2.0