https://github.com/bredele/molder
create custom elements today (almost)
https://github.com/bredele/molder
Last synced: over 1 year ago
JSON representation
create custom elements today (almost)
- Host: GitHub
- URL: https://github.com/bredele/molder
- Owner: bredele
- Created: 2016-09-03T23:18:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-18T21:13:02.000Z (almost 10 years ago)
- Last Synced: 2025-03-27T01:23:50.719Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# molder
Subsitute elements with a custom element syntax.
## Usage
[Custom elements](http://webcomponents.org/articles/introduction-to-custom-elements/) are probably the next big thing in HTML.
```html
slide 1
slide 2
```
It is unfortunately not available in all browsers currently but you can start using the syntax (content, select, etc) today using `molder`.
```js
var molder = require('molder')
molder(document.querySelector('my-carousel'), component)
```