Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmouterde/tomplate
String to DOM with function bindings
https://github.com/mmouterde/tomplate
Last synced: about 1 month ago
JSON representation
String to DOM with function bindings
- Host: GitHub
- URL: https://github.com/mmouterde/tomplate
- Owner: mmouterde
- Created: 2016-05-18T20:07:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-07T21:16:34.000Z (over 8 years ago)
- Last Synced: 2024-05-23T03:03:50.491Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TomPlate
A extra-light template tool that allows function bindings :
~~~javascript
(function(){
var HTMLString = "link";
var handlers = {
HelloScopedFn: function(){
console.log("hello!");
}
};
var element = tomplate(HTMLString,handlers);
})();
~~~