X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..HEAD:/docs/source/Element.scroll.html?ds=inline diff --git a/docs/source/Element.scroll.html b/docs/source/Element.scroll.html index 6a411cda..3ae63415 100644 --- a/docs/source/Element.scroll.html +++ b/docs/source/Element.scroll.html @@ -3,8 +3,8 @@ The source code - - + + @@ -15,11 +15,11 @@ -
/**
- * @class Ext.core.Element
+  
/**
+ * @class Ext.Element
  */
-Ext.override(Ext.core.Element, {
-    /**
+Ext.override(Ext.Element, {
+    /**
      * Returns true if this element is scrollable.
      * @return {Boolean}
      */
@@ -28,7 +28,7 @@ Ext.override(Ext.core.Element, {
         return dom.scrollHeight > dom.clientHeight || dom.scrollWidth > dom.clientWidth;
     },
 
-    /**
+    /**
      * Returns the current scroll position of the element.
      * @return {Object} An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}
      */
@@ -63,12 +63,12 @@ Ext.override(Ext.core.Element, {
         return ret;
     },
     
-    /**
+    /**
      * Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
      * @param {String} side Either "left" for scrollLeft values or "top" for scrollTop values.
      * @param {Number} value The new scroll value
      * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
-     * @return {Element} this
+     * @return {Ext.Element} this
      */
     scrollTo : function(side, value, animate) {
         //check if we're scrolling top or left
@@ -94,12 +94,12 @@ Ext.override(Ext.core.Element, {
         return me;
     },
 
-    /**
+    /**
      * Scrolls this element into view within the passed container.
-     * @param {Mixed} container (optional) The container element to scroll (defaults to document.body).  Should be a
-     * string (id), dom node, or Ext.core.Element.
+     * @param {String/HTMLElement/Ext.Element} container (optional) The container element to scroll (defaults to document.body).  Should be a
+     * string (id), dom node, or Ext.Element.
      * @param {Boolean} hscroll (optional) False to disable horizontal scroll (defaults to true)
-     * @return {Ext.core.Element} this
+     * @return {Ext.Element} this
      */
     scrollIntoView : function(container, hscroll) {
         container = Ext.getDom(container) || Ext.getBody().dom;
@@ -142,7 +142,7 @@ Ext.override(Ext.core.Element, {
         Ext.fly(child, '_scrollChildIntoView').scrollIntoView(this, hscroll);
     },
 
-    /**
+    /**
      * Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
      * within this element's scrollable range.
      * @param {String} direction Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").