This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
Demos/ | ||
| |
Docs/ | Fri Jan 09 07:40:00 -0800 2009 | |
| |
LICENSE | ||
| |
README.md | Fri Jan 09 07:54:18 -0800 2009 | |
| |
Source/ | ||
| |
Specs/ | Fri Jan 09 07:40:00 -0800 2009 | |
| |
scripts.json | Fri Jan 09 07:40:00 -0800 2009 |
README.md
SubtleTemplateDirty
Description
Pass in an element to your new SubtleTemplateDirty.
Then use the set method to set the value or text of its child elements who match a selector based on the key you pass in.
- EG:
mySubtleTemplateDirty.set('coffee', 'coffee rocks!');
- EG:
It'll look for the first element that matches the selector
#coffee, [name=coffee], .coffeeThen it'll set the
valueortextof that element to'coffee rocks!'Then is creates a function for that key that sets that same element in the same way
- So if you keep setting the same key over and over, it won't have to do all the work of matching up the element to the key again
You can create your own custom setters!
mySubtleTemplateDirty.Properties.flarm = {set:function(value){ /* custom code goes here */ }}








