Skip to content

Instantly share code, notes, and snippets.

@bakura10
Created March 22, 2013 16:38
Show Gist options
  • Save bakura10/5222783 to your computer and use it in GitHub Desktop.
Save bakura10/5222783 to your computer and use it in GitHub Desktop.
{{#view App.SingleFolderView}}
<tr {{bindAttr class=":folder isSelected:active"}}>
<td>{{name}}</td>
<td>dossier</td>
<td>25 septembre 2012</td>
<td>4,2 Mo</td>
</tr>
{{/view}}
App.SingleFolderView = Ember.View.extend({
click: function() {
alert("ClickableView was clicked!");
//this.get('controller').send('selectFolder', $(event));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment