Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomPlate

A extra-light template tool that allows function bindings :

(function(){
 var HTMLString = "<a href='#' onclick='{HelloScopedFn()}' ondblclick='globalFn()'>link</a>";
 var handlers = {
                  HelloScopedFn: function(){
                              console.log("hello!");
                          }
                };
 var element = tomplate(HTMLString,handlers);
 })();

About

String to DOM with function bindings

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages