1.2.0 • Published 8 years ago

molder v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

molder

Subsitute elements with a custom element syntax.

Usage

Custom elements are probably the next big thing in HTML.

<my-carousel>
  <div>slide 1</div>
  <div>slide 2</div>
</my-carousel>

It is unfortunately not available in all browsers currently but you can start using the syntax (content, select, etc) today using molder.

var molder = require('molder')
molder(document.querySelector('my-carousel'), component)