0.5.4 • Published 5 years ago

html-custom-elements v0.5.4

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

html-custom-elements

Build Status

Collection of html custom elements (IE11/Chrome/Safari/FF compatible)

image image image image

DEMO image

Dead simple

Just include html-custom-element.js. Done!

Light as a feather

12KB minified & gzipped.

Blazing fast

No framework loading, or any dependence. It's based on built-in web standard, custom elements.

Basic Usage

<!DOCTYPE html>
<html lang="en">
<head>
  <b><script src="http://unpkg.com/html-custom-elements/dist/html-custom-elements.umd.js"></script></b>
</head>
<body>
  <hce-carousel id="x1" selected="1">
    <ul>
      <li><img src="//picsum.photos/300/200?1"></li>
      <li><img src="//picsum.photos/300/200?2"></li>
      <li><img src="//picsum.photos/300/200?3"></li>
      <li><img src="//picsum.photos/300/200?4"></li>
    </ul>
  </hce-carousel>
</body>
</html>

Usage with Webpack, Browserify, & Other Bundlers

If you want to use it with a bundler, install html-custom-elements with npm:

$ npm install html-custom-elements --save-dev

Simply import the module into your bundle:

import 'html-custom-elements';

Stackblitz Demo

For Developer

# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start
# build for production with minification
npm run build
0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago