Sha256: 2f511119082091177c23e1e0e41f441e78ac46b01fbd856360203c3a5d218d78

Contents?: true

Size: 586 Bytes

Versions: 8

Compression:

Stored size: 586 Bytes

Contents

// ========================================================================
// SproutCore
// copyright 2006-2008 Sprout Systems, Inc.
// ========================================================================

require('views/field/text_field') ;

/**
  @class
  
  Manages a text area field.
  
  @extends SC.TextFieldView
  @author Skip Baney
  @version 1.0
*/
SC.TextareaFieldView = SC.TextFieldView.extend(
/** @scope SC.TextareaFieldView.prototype */ {
  
  emptyElement: '<textarea></textarea>',

  insertNewline: function(evt) { evt._stopWhenHandled = false; return true; }

});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sproutcore-0.9.2 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.3 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.5 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.4 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.8 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.9 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.7 frameworks/sproutcore/views/field/textarea_field.js
sproutcore-0.9.6 frameworks/sproutcore/views/field/textarea_field.js