-
Notifications
You must be signed in to change notification settings - Fork 0
YUI3 HTML Template Engine
drmartin1998/FastTemplate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
fastTemplate is a solution for looping JSON data over a pre-determined HTML template. Useage var myTemplate = new Y.fastTemplate({ data: mydata, templateNode: Y.one('#template'), wrapperNode: Y.one('#wrapper') }); myTemplate.process(); Configuation data - a JSON set of data. fastTemplate will match sections in the HTML template that match the keys in the Data. a key name of firstName will match a section in the HTML of {firstName}. templateNode - fastTemplate will take the innerHTML of the templateNode passed in for use as the template. wrapperNode - This is the node that fastTemplate will append the final output to.
About
YUI3 HTML Template Engine
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published