Skip to content

The awesome-slider Vanilla JS custom element web component is a cool option to quickly add a slider/banner/gallery to your web projects.

Notifications You must be signed in to change notification settings

webmansa/awesome-slider

Repository files navigation

<awesome-slider/>#

demo

The awesome-slider Vanilla JS custom element web component is a cool and clean option to quickly add a slider / banner / gallery to your web projects.

Live demo

Access the live demo here.

Quick usage

  1. Load the WebComponents polyfill:
<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.5/webcomponents.min.js"></script>
  1. Import the Awesome-Button:
<link rel="import" href="/awesome-slider.html">
  1. Use it:
<awesome-slider pre-image="/images/logo.svg" bullets="true">
	<item source="/images/image-1.jpg"></item>
	<item source="/images/image-2.jpg"></item>
	<item source="/images/image-3.jpg"></item>
</awesome-slider>

Install

Install the component using Bower:

$ bower install awesome-slider --save

Or download the zip file.

License

MIT: http://mit-license.org/

Copyright 2015 Rafael Caferati

About

The awesome-slider Vanilla JS custom element web component is a cool option to quickly add a slider/banner/gallery to your web projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published