@ppci-mock/source-carousel
v1.2.23
Published
<ol> <li> <a href="#installation">Installation</a> </li> <li> <a href="#usage">Usage</a> </li> <li> <a href="#properties">Properties</a> </li> <li> <a href="#events">Events</a> </li> </ol>
Downloads
14
Readme
Source Carousel
Table of contents
Installation
NPM
npm i @ppci-mock/source-carousel
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci-mock/source-carousel';
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/source-carousel/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/source-carousel/builds/legacy.min.js" />
<!-- Component -->
<source-carousel
.sources=${Array}
@onClose=${Function}
></source-carousel>