Skip to content

Instantly share code, notes, and snippets.

@endash
Forked from MikailCliftov/gist:971023
Created May 13, 2011 18:28
Show Gist options
  • Save endash/971041 to your computer and use it in GitHub Desktop.
Save endash/971041 to your computer and use it in GitHub Desktop.
Rapid.itemController = SC.ObjectController.create({
//set your item .set('content', item)
});
------------------------------------------------------------------------------------
progressView: Rapid.ProgressView.design({
layout: {centerX:0, centerY:0, height:150, width:150, border:0},
isVisibleBinding: SC.Binding.from('Rapid.itemController*status').transform(function(value) {
return !!(value & SC.Record.BUSY);
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment