Template7 was specifically created for usage in mobile applications, being very lightweight and providing better speeds and results than Handlebars, the template engine it was modeled after.
The syntax is similar between the two, Template7 (or just T7) stripping out all that's not generally needed on mobile environments and leaving in only the absolute necessary.
The engine includes support for variables, block expressions, and helpers.
Compilation and rendering is done at page load time.
Examples and usage instructions are included with the download package.
Template7 is the default template engine used for Framework7.
What is new in this release:
- Support for global context `Template7.global` that may be used in templates as `{{@global.someVar}}`
What is new in version 1.0.6:
- Support for global context `Template7.global` that may be used in templates as `{{@global.someVar}}`
What is new in version 1.0.5:
- Support for global context `Template7.global` that may be used in templates as `{{@global.someVar}}`
What is new in version 1.0.2:
- Support for global context `Template7.global` that may be used in templates as `{{@global.someVar}}`
Requirements:
- JavaScript enabled on client side
- Node.js 0.10 or higher
Comentariile nu a fost găsit