Skip to content

Instantly share code, notes, and snippets.

@sevifives
Created May 25, 2011 13:58
Show Gist options
  • Save sevifives/991023 to your computer and use it in GitHub Desktop.
Save sevifives/991023 to your computer and use it in GitHub Desktop.
someSceneViewThing: SC.View.extend({
childViews: 'tab'.w(),
tab: SC.TabView.extend({
layout: { left: 10, top: 10, right: 10, bottom: 10 },
nowShowingBinding: 'yourApp.path.nowShowing',
items: [ { title: "_Title".loc(), value: 'yourApp.path'},
{ title: "_Title".loc(), value: 'yourApp.path'},
{ title: "_Title".loc(), value: 'yourApp.path'} ],
itemTitleKey: 'title',
itemValueKey: 'value',
containerView: SC.SceneView.extend(),
segmentedView: SC.SegmentedView.extend()
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment