Skip to content

Instantly share code, notes, and snippets.

@micahalles
Created July 11, 2011 03:11
Show Gist options
  • Save micahalles/1075267 to your computer and use it in GitHub Desktop.
Save micahalles/1075267 to your computer and use it in GitHub Desktop.
Setting Properties
$("#my-template").expand({
"$input[name=like]": { ":checked": true }
})
<div>
<input type="checkbox" name="like" checked/> Like
</div>
<div id="my-template">
<input type="checkbox" name="like" /> Like
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment