<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
- <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="text/css">
.highlight { display: block; background-color: #ddd; }
</style>
/* Begin Definitions */
extend: 'Ext.layout.container.boxOverflow.None',
- requires: ['Ext.util.ClickRepeater', 'Ext.core.Element'],
+ requires: ['Ext.util.ClickRepeater', 'Ext.Element'],
alternateClassName: 'Ext.layout.boxOverflow.Scroller',
mixins: {
observable: 'Ext.util.Observable'
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-animateScroll'> /**
</span> * @cfg {Boolean} animateScroll
- * True to animate the scrolling of items within the layout (defaults to true, ignored if enableScroll is false)
+ * True to animate the scrolling of items within the layout (ignored if enableScroll is false)
*/
animateScroll: false,
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-scrollIncrement'> /**
</span> * @cfg {Number} scrollIncrement
- * The number of pixels to scroll by on scroller click (defaults to 24)
+ * The number of pixels to scroll by on scroller click
*/
scrollIncrement: 20,
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-wheelIncrement'> /**
</span> * @cfg {Number} wheelIncrement
- * The number of pixels to increment on mouse wheel scrolling (defaults to <tt>3</tt>).
+ * The number of pixels to increment on mouse wheel scrolling.
*/
wheelIncrement: 10,
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-scrollRepeatInterval'> /**
</span> * @cfg {Number} scrollRepeatInterval
- * Number of milliseconds between each scroll while a scroller button is held down (defaults to 20)
+ * Number of milliseconds between each scroll while a scroller button is held down
*/
scrollRepeatInterval: 60,
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-scrollDuration'> /**
</span> * @cfg {Number} scrollDuration
- * Number of milliseconds that each scroll animation lasts (defaults to 400)
+ * Number of milliseconds that each scroll animation lasts
*/
scrollDuration: 400,
*/
<span id='Ext-layout-container-boxOverflow-Scroller-cfg-scrollerCls'> /**
-</span> * @cfg {String} scrollerCls
+</span> * @cfg {String} [scrollerCls='x-box-scroller']
* CSS class added to both scroller elements if enableScroll is used
*/
scrollerCls: Ext.baseCSSPrefix + 'box-scroller',
before.addClsOnOver(this.beforeScrollerCls + '-hover');
after.addClsOnOver(this.afterScrollerCls + '-hover');
- before.setVisibilityMode(Ext.core.Element.DISPLAY);
- after.setVisibilityMode(Ext.core.Element.DISPLAY);
+ before.setVisibilityMode(Ext.Element.DISPLAY);
+ after.setVisibilityMode(Ext.Element.DISPLAY);
this.beforeRepeater = Ext.create('Ext.util.ClickRepeater', before, {
interval: this.scrollRepeatInterval,
<span id='Ext-layout-container-boxOverflow-Scroller-property-beforeScroller'> /**
</span> * @property beforeScroller
- * @type Ext.core.Element
+ * @type Ext.Element
* The left scroller element. Only created when needed.
*/
this.beforeScroller = before;
<span id='Ext-layout-container-boxOverflow-Scroller-property-afterScroller'> /**
</span> * @property afterScroller
- * @type Ext.core.Element
+ * @type Ext.Element
* The left scroller element. Only created when needed.
*/
this.afterScroller = after;
<span id='Ext-layout-container-boxOverflow-Scroller-method-scrollToItem'> /**
</span> * Scrolls to the given component.
- * @param {String|Number|Ext.Component} item The item to scroll to. Can be a numerical index, component id
+ * @param {String/Number/Ext.Component} item The item to scroll to. Can be a numerical index, component id
* or a reference to the component itself.
* @param {Boolean} animate True to animate the scrolling
*/