Home | History | Annotate | Download | only in ui

Lines Matching refs:scrollTop

51             this._scrollContainer.scrollTop = this._scrollContainer.scrollHeight - this._scrollContainer.clientHeight;
78 if (this._lastScrollTop !== this._scrollContainer.scrollTop)
105 * @param {number} scrollTop
108 _calculateVisibleNodes: function(clientHeight, scrollTop)
118 for (; i < size && y + nodes[i].nodeSelfHeight() < scrollTop; ++i)
123 for (; i < size && y < scrollTop + clientHeight; ++i)
151 var scrollTop = this._scrollContainer.scrollTop;
152 var currentScrollTop = scrollTop;
155 scrollTop = maxScrollTop;
156 scrollTop = Math.min(maxScrollTop, scrollTop);
157 this._atBottom = scrollTop === maxScrollTop;
159 var viewportState = this._calculateVisibleNodes(clientHeight, scrollTop);
195 this._lastScrollTop = scrollTop;
196 if (scrollTop !== currentScrollTop)
197 this._scrollContainer.scrollTop = scrollTop;
215 var scrollTop = this._scrollContainer.scrollTop;
216 if (scrollTop > fromY)
217 scrollTop = fromY;
218 else if (scrollTop + this._scrollContainer.offsetHeight < toY)
219 scrollTop = toY - this._scrollContainer.offsetHeight;
220 this._scrollContainer.scrollTop = scrollTop;