Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jorgecasar/jquery.wrapchildren

It's a plugin to wrap the children text elements of an element with a custom tag and custom class on finish
https://github.com/jorgecasar/jquery.wrapchildren

Last synced: 1 day ago
JSON representation

It's a plugin to wrap the children text elements of an element with a custom tag and custom class on finish

Awesome Lists containing this project

README

        

# Wrap Children Plugin
It's a plugin to wrap the children text elements of an element with a custom tag and custom class on finish

## Usage
```
$(selector).wrapChildren(options)
```

## Options

### childrenWrapper (default: 'span')
Tag name to wrap children

### wrappedClass (default: '')
Class name to add element wrapped.