1.2.23 • Published 4 years ago
@ppci-mock/source-carousel v1.2.23
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>