0.2.10 • Published 7 months ago

renaissance-append-html v0.2.10

Weekly downloads
5
License
MIT
Repository
github
Last release
7 months ago

renaissance-append-html

Test Status

renaissance appendHTML adapter

Usage

const { r } = require('renaissance')
const AppendHtmlAdapter = require('renaissance-append-html')
const adapter = r.registerAdapter('appendHTML', AppendHtmlAdapter)

adapter.appendHTML('<p>appendHTML</p>', document.getElementsByTagname('body')[0], function(children) { console.log(children) })
// OR
r.adapters.appendHTML.appendHTML('<p>appendHTML</p>', document.getElementsByTagname('body')[0], function(children) { console.log(children) })

API

adapter.appendHTML({string} html, {object} node, {function} cb)

Append html to node and run cb, if present

Development

  • Build with npm run build
  • Test with npm run test

Contributing

See CONTRIBUTING

Credits

See CREDITS

License

MIT (c) 2017 - 2023 frncsdrk and contributors

0.2.10

7 months ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

2 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

7 years ago

0.1.0

7 years ago