Sha256: b80134e85b1e697b308c6aed00bf07a28f3a534026bd0aebfec4b95923fad0ba
Contents?: true
Size: 821 Bytes
Versions: 11
Compression:
Stored size: 821 Bytes
Contents
// ========================================================================== // Project: TestRunner.OffsetCheckboxView // Copyright: ©2011 Apple Inc. // ========================================================================== /*globals TestRunner */ /** This special view class will automatically adjusts its left offset based on an "offset" value, which is will be bound to the width of the split view. This way when you resize the split view, the checkbox view will move also. @extends SC.CheckboxView */ TestRunner.OffsetCheckboxView = SC.CheckboxView.extend( /** @scope TestRunner.OffsetCheckboxView.prototype */ { /** bind to thickness of splitview (though a controller) */ offset: 0, offsetDidChange: function() { this.adjust('left', this.get('offset')+6); }.observes('offset') });
Version data entries
11 entries across 11 versions & 1 rubygems