UNPKG
dom-add
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.1
appending markup to the DOM using recursion
github.com/dalalayan1/dom-add
dalalayan1/dom-add
dom-add
/
README.md
4 lines
(3 loc)
•
224 B
Markdown
View Raw
1
2
3
4
# dom-add Simple
function
which takes an
object
as
a parameter, uses recursion
and
converts the
object
into
markup. Second parameter(
optional
)
is
the parent element inside which the generated markup needs
to
be appended.