Sha256: 414d375df63bd103218bf9e2539eb810b34c8cbd5188e8b7bf54bb02e6aa42c2

Contents?: true

Size: 700 Bytes

Versions: 3

Compression:

Stored size: 700 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2008-2011 Apple Inc. All rights reserved.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

Docs.DetailListView = SC.ListView.extend({

  masterPropertyPath: 'mainPage.mainPane.classList.contentView',

  keyDown: function(evt){

    if(evt.keyCode === 37) {
      var propPath = this.get('masterPropertyPath');
      var masterView = Docs.getPath(propPath);

      masterView.becomeFirstResponder();

      //return YES;
    }

    return sc_super();
  }
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sc-docs-0.0.3 lib/sc_docs/docs/apps/docs/views/detail_list.js
sc-docs-0.0.2 lib/sc_docs/docs/apps/docs/views/detail_list.js
sc-docs-0.0.1 lib/sc_docs/docs/apps/docs/views/detail_list.js