A jQuery Template Engine (beta-0.1)
BEARD
.js
Get Started
Hello World
How to
Quick Demos
Template Composition (simple)
Template Composition
Template Recursive Composition
Binding Data & Callback
Loading Templates Remotely
Safe Mode
Debug Mode
An Advanced Example
Syntax
Template Syntax
HTML Syntax
Syntax for Extending a Template
Syntax for initEvents
Create a Reference
Customise the Arguments
Specify the Path
Configure Your Own Syntax
Binding Data
Binding callback
Inside a Template
t
d
e (simple case)
e (complex case)
g
Outside the Templates
Beard
Beard.utils
Btpls & compiled templates
Beard Utils
out ()
bind ()
callback ()
loop ()
remove ()
esc ()
log ()
bind ()
has ()
Extend the Utils
Beard API
init ()
load ()
remote () / loadRemote()
loadHtml ()
ready ()
extendUtils ()
reset ()
initEvents ()
parseHtml ()
$debug ()
$beard ()
isDebug ()
Extended $.fn
beardData ()
lookUp ()
dataUp ()
wrapData ()
initEvents ()
union ()
[
hide description
]
Result Text Mode
Result Html Mode
Html
Javascript
Reset
{
{
Rendered Result : Plain Text Mode
}
}
[
top
]
{
{
Rendered Result : HTML Mode
}
}
[
top
]
{
{
HTML
}
}
[
top
]
{
{
Javascript
}
}
[
top
]