Skip to content

brapse/reindr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reindr: Monadic html generation from javascript

========================

Generate html with a chain of functions, similar to how jquery does selectors.

The Reindr() (shortcutted as $R()) function will generate a monad that acts as a chain of nested html elements. Calling render() on a chain will output html.


    var r = $R().div.span.text("Hello World").render();
    
    should give you 
Hello Word

Experimental. Undocumented, only slightly tested.

About

html helpers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published