Sha256: 5d7e9d90b87d665e20d3bfffa1662ef6e40f24b49ce4fc5361981d356efbc4b1
Contents?: true
Size: 1.07 KB
Versions: 11
Compression:
Stored size: 1.07 KB
Contents
// ========================================================================== // Project: Showcase // Copyright: ©2012 7x7 Software, Inc. // License: Licensed under MIT license // ========================================================================== /*globals Showcase */ sc_require('system/views_item_content.js'); sc_require('views/views_list_view.js'); /** This pre-configured view demonstrates SC.SourceListView. */ Showcase.sourceListViews = SC.ScrollView.design({ contentView: Showcase.ViewsListView.design({ content: [ Showcase.ViewsItemContent.create({ title: 'Regular', example: "SC.SourceListView.extend({ classNames: ['my-source-list-view'], layout: { bottom: 20, left: 20, right: 20, top: 20 }, contentBinding: SC.Binding.oneWay('Showcase.sourceListTree'), exampleView: SC.ListItemView.extend({ hasContentIcon: true, contentIconKey: 'icon', contentUnreadCountKey: 'count', contentValueKey: 'name' }), groupExampleView: SC.ListItemView.extend({ contentValueKey: 'groupName' }) })" }) ], exampleHeight: 575 }) });
Version data entries
11 entries across 11 versions & 1 rubygems