Skip to content

Instantly share code, notes, and snippets.

@charlesjolley
Created February 13, 2011 23:10
Show Gist options
  • Save charlesjolley/825269 to your computer and use it in GitHub Desktop.
Save charlesjolley/825269 to your computer and use it in GitHub Desktop.
<div class="card">
{{view image}}
<h1>{{firstName}} {{lastName}}</h1>
</div>
MyApp.CardView = SC.TemplateView.design({
template: 'card_view',
image: SC.ImageView.design({
valueBinding: '*parentView.content.imageUrl'
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment