molder

web components molder


Keywords
components, polymer, shadow
License
MIT
Install
npm install molder@1.1.0

Documentation

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)