- Usage
Will output:
tpl('<h1>{{title}}</h1>' + '<ul>{{#items}}' + '<li>{{label}}</li>' + '{{/items}}</ul>', { items: [ { label: 'Foo' }, { label: 'Bar' } ] });
"<h1></h1><ul><li>Foo</li><li>Bar</li></ul>"
forked from baptooo/tiny-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
lelolo/tiny-dom
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tiny Dom Selector & pub-sub Events
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0% < 2AD0 /ul>