Sha256: fe67d9c9578db31bc73c75911174890ea805a7bf6c8fd9684c370a5c99ffa7c0
Contents?: true
Size: 1.81 KB
Versions: 20
Compression:
Stored size: 1.81 KB
Contents
// ========================================================================== // Project: SC - designPage // Copyright: ©2010 Mike Ball // ========================================================================== /*globals SC */ require('views/designer_drop_target'); require('views/page_item_view'); SC.designPage = SC.Page.create({ // .......................................................... // Views used inside iframe... // designMainPane: SC.MainPane.design({ classNames: ['workspace'], childViews: 'rotated container viewList'.w(), container: SC.DesignerDropTarget.design({ layout: {top: 20, left: 20, right: 20, bottom: 83}, classNames: ['design'], contentViewBinding: SC.Binding.transform(function(value, binding){ return value && value.kindOf && value.kindOf(SC.View) ? value : null; }).from('SC.designController.view') }), rotated: SC.View.design({ layout: {top: 20, left: 20, right: 20, bottom: 83}, classNames: ['rotated-page'] }), viewList: SC.ScrollView.design({ layout: {left:0, right: 0, bottom: 0, height: 63}, classNames: ['dock'], hasBorder: NO, hasVerticalScroller: NO, contentView: SC.GridView.design({ contentIconKey: 'type', exampleView: SC.pageItemView, rowHeight: 63, columnWidth: 100, hasContentIcon: YES, //contentBinding: 'SC.designsController', delegate: SC.designsController, selectionBinding: 'SC.designsController.selection', contentValueKey: 'name', isDropTarget: YES, canEditContent: YES, canReorderContent: YES, canDeleteContent: YES, actOnSelect: YES, targetIsInIFrame: YES, target: 'SC.designController', action: 'viewSelected' }) }) }) });
Version data entries
20 entries across 20 versions & 2 rubygems