Sha256: ad7e823bc57846dee52e76038871c183ea8b17adce4f84e1901ef959cf0d1376

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

// ==========================================================================
// Sproutcore.ScrollView
// ==========================================================================

require('views/container') ;

/** @class

  The scroll view is used throughout SproutCore anytime you need to display
  content that can be scrolled.  Although you can make any div scrollable in
  HTML using CSS, SC.ScrollView provides a number of additional advantages
  including support for incremental rendering, auto-scrolling during a
  drag operations and support for custom scroll bars.

  Scroll views are generally included automatically if you use the built-in
  view helpers in SproutCore.  Depending on the views you are writing, you may
  want to use scroll views yourself as well.  The following sections describe
  how you can use the scroll view to support incremental rendering and auto-
  scrolling dragging.
  
  h3. Using Scroll Views for Incremental Rendering
  
  Coming Soon...

  @extends SC.View
  @author  Charles Jolley  
  @version 1.0
*/
SC.ScrollView = SC.View.extend(
/** @scope SC.ScrollView.prototype */ {

  emptyElement: '<div class="sc-scroll-view"></div>'
    
}) ;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sproutcore-0.9.1 frameworks/sproutcore/views/scroll.js