@minko-fe/html-transform
v0.1.17
Published
html-transform
Downloads
21
Readme
html-transform
Usage
import { applyHtmlTransforms } from '@minko-fe/html-transform'
applyHtmlTransforms(`your html`, [
{
tag: 'div',
attrs: { 'data-src': 'www.google.com' },
injectTo: 'body',
children: `console.log('hello, world!')`
}
])