fd-append
append DOM element in a functional way.
Installation
npm install fd-append --save
Usage
let append = elem = appendtoBody = ; let p = ; ; assert; // true.
API
append :: parent -> child
A curried function that takes in:
-
parent -> DOM element to which the child must be appended.
-
child -> DOM element that needs to be appended.