UNPKG
@kickscondor/umbrellajs
Version:
latest (3.1.2)
3.1.2
3.1.1
Lightweight and intuitive javascript library
umbrellajs.com
kickscondor/umbrella
@kickscondor/umbrellajs
/
src
/
plugins
/
append
/
append.js
7 lines
(6 loc)
•
221 B
JavaScript
View Raw
1
2
3
4
5
6
7
// Add some html as a child at the end of each of the matched elements.
u.
prototype
.
append
=
function
(
html, data
) {
return
this
.
adjacent
(html, data,
function
(
node, fragment
) { node.
appendChild
(fragment); }); };