Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / SpinnerField.html
index e008fde..057fcb7 100644 (file)
@@ -1,10 +1,10 @@
-<html>\r
-<head>\r
-  <title>The source code</title>\r
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body  onload="prettyPrint();">\r
+<html>
+<head>
+  <title>The source code</title>
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body  onload="prettyPrint();">
     <pre class="prettyprint lang-js">Ext.ns('Ext.ux.form');\r
 \r
 <div id="cls-Ext.ux.form.SpinnerField"></div>/**\r
@@ -14,6 +14,7 @@
  * @xtype spinnerfield\r
  */\r
 Ext.ux.form.SpinnerField = Ext.extend(Ext.form.NumberField, {\r
+    actionMode: 'wrap',\r
     deferHeight: true,\r
     autoSize: Ext.emptyFn,\r
     onBlur: Ext.emptyFn,\r
@@ -33,17 +34,6 @@ Ext.ux.form.SpinnerField = Ext.extend(Ext.form.NumberField, {
                Ext.ux.form.SpinnerField.superclass.constructor.call(this, Ext.apply(config, {plugins: plugins}));\r
        },\r
 \r
-    onShow: function(){\r
-        if (this.wrap) {\r
-            this.wrap.dom.style.display = '';\r
-            this.wrap.dom.style.visibility = 'visible';\r
-        }\r
-    },\r
-\r
-    onHide: function(){\r
-        this.wrap.dom.style.display = 'none';\r
-    },\r
-\r
     // private\r
     getResizeEl: function(){\r
         return this.wrap;\r
@@ -70,6 +60,6 @@ Ext.reg('spinnerfield', Ext.ux.form.SpinnerField);
 \r
 //backwards compat\r
 Ext.form.SpinnerField = Ext.ux.form.SpinnerField;\r
-</pre>    \r
-</body>\r
+</pre>
+</body>
 </html>
\ No newline at end of file