agility icon indicating copy to clipboard operation
agility copied to clipboard

How to bind a subproperty?

Open mickeymoon opened this issue 11 years ago • 1 comments

var user = { 'name': 'Arpit', email:'[email protected]', id:'' } var obj= $$({ model:{ 'user': user },

view:{ format : "" // doesnt't work this way },

controller:{} })

mickeymoon avatar Feb 28 '13 09:02 mickeymoon

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

robertjustjones avatar Jun 01 '13 14:06 robertjustjones