8000 GitHub - dominicbarnes/wrap: wrap an element · GitHub
[go: up one dir, main page]

Skip to content
dominicbarnesPublic
forked from yields/wrap

About

wrap an element

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wrap

Wrap an element.

Installation

$ component install yields/wrap

Example

var domify = require('domify');
var p = document.querySelector('p');
var div = domify('<div></div>')[0];
wrap(p, div);

API

wrap(el, wrap)

Wraps el with wrap.

License

MIT

About

wrap an element

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0