Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to bind a subproperty? #102

Open
mickeymoon opened this issue Feb 28, 2013 · 1 comment
Open

How to bind a subproperty? #102

mickeymoon opened this issue Feb 28, 2013 · 1 comment

Comments

@mickeymoon
Copy link

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

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

controller:{}
})

@robertjustjones
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants