agility
agility copied to clipboard
How to bind a subproperty?
var user = { 'name': 'Arpit', email:'[email protected]', id:'' } var obj= $$({ model:{ 'user': user },
view:{ format : "" // doesnt't work this way },
controller:{} })
mickeymoon, it's hard to understand what you're describing here, but for starters you need at least a <div></div>
in view.format. It's the same as in jQuery syntax when you use $( html-string ) as described here http://api.jquery.com/jQuery/#jQuery2