iscroll probe.min.js5 中iscroll probe.min.js-probe.js 有什么用的

>> iscroll-probe.js
iscroll-probe.js ( File view )
/*! iScroll v5.1.3 ~ (c)
Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame
window.oRequestAnimationFrame
window.msRequestAnimationFrame
function (callback) {
window.setTimeout(callback, 1000 / 60);
var utils = (function () {
var me = {
var _elementStyle = document.createElement('div').
var _vendor = (function () {
var vendors = ['t', 'webkitT', 'MozT', 'msT', 'OT'],
transform,
l = vendors.
for ( ; i & i++ ) {
transform = vendors[i] + 'ransform';
if ( transform in _elementStyle ) return vendors[i].substr(0, vendors[i].length-1);
function _prefixStyle (style) {
if ( _vendor === false )
if ( _vendor === '' )
return _vendor + style.charAt(0).toUpperCase() + style.substr(1);
me.getTime = Date.now || function getTime () {
return new Date().getTime();
me.extend = function (target, obj) {
for ( var i in obj ) {
target[i] = obj[i];
me.addEvent = function (el, type, fn, capture) {
el.addEventListener(type, fn, !!capture);
me.removeEvent = function (el, type, fn, capture) {
el.removeEventListener(type, fn, !!capture);
me.prefixPointerEvent = function (pointerEvent) {
return window.MSPointerEvent ?
'MSPointer' + pointerEvent.charAt(9).toUpperCase() + pointerEvent.substr(10):
me.momentum = function (current, start, time, lowerMargin, wrapperSize, deceleration) {
var distance = current - start,
speed = Math.abs(distance) / time,
destination,
deceleration = deceleration === undefined ? 0.0006 :
destination = current + ( speed * speed ) / ( 2 * deceleration ) * ( distance & 0 ? -1 : 1 );
duration = speed /
if ( destination & lowerMargin ) {
destination = wrapperSize ? lowerMargin - ( wrapperSize / 2.5 * ( speed / 8 ) ) : lowerM
distance = Math.abs(destination - current);
duration = distance /
} else if ( destination & 0 ) {
destination = wrapperSize ? wrapperSize / 2.5 * ( speed / 8 ) : 0;
distance = Math.abs(current) +
duration = distance /
destination: Math.round(destination),
duration: duration
var _transform = _prefixStyle('transform');
me.extend(me, {
hasTransform: _transform !== false,
hasPerspective: _prefixStyle('perspective') in _elementStyle,
hasTouch: 'ontouchstart' in window,
hasPointer: window.PointerEvent || window.MSPointerEvent, // IE10 is prefixed
hasTransition: _prefixStyle('transition') in _elementStyle
// This should find all Android browsers lower than build 535.19 (both stock browser and webview)
me.isBadAndroid = /Android /.test(window.navigator.appVersion) && !(/Chrome\/\d/.test(window.navigator.appVersion));
me.extend(me.style = {
transform: _transform,
transitionTimingFunction: _prefixStyle('transitionTimingFunction'),
transitionDuration: _prefixStyle('transitionDuration'),
transitionDelay: _prefixStyle('transitionDelay'),
transformOrigin: _prefixStyle('transformOrigin')
me.hasClass = function (e, c) {
var re = new RegExp(&(^|\\s)& + c + &(\\s|$)&);
return re.test(e.className);
me.addClass = function (e, c) {
if ( me.hasClass(e, c) ) {
var newclass = e.className.split(' ');
newclass.push(c);
e.className = newclass.join(' ');
me.removeClass = function (e, c) {
if ( !me.hasClass(e, c) ) {
var re = new RegExp(&(^|\\s)& + c + &(\\s|$)&, 'g');
e.className = e.className.replace(re, ' ');
me.offset = function (el) {
var left = -el.offsetLeft,
top = -el.offsetT
// jshint -W084
while (el = el.offsetParent) {
left -= el.offsetL
top -= el.offsetT
// jshint +W084
left: left,
me.preventDefaultException = function (el, exceptions) {
for ( var i in exceptions ) {
if ( exceptions[i].test(el[i]) ) {
me.extend(me.eventType = {
touchstart: 1,
touchmove: 1,
touchend: 1,
mousedown: 2,
mousemove: 2,
mouseup: 2,
pointerdown: 3,
pointermove: 3,
pointerup: 3,
MSPointerDown: 3,
MSPointerMove: 3,
MSPointerUp: 3
me.extend(me.ease = {
quadratic: {
style: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
fn: function (k) {
return k * ( 2 - k );
circular: {
style: 'cubic-bezier(0.1, 0.57, 0.1, 1)', // Not properly &circular& but this looks better, it should be (0.075, 0.82, 0.165, 1)
fn: function (k) {
return Math.sqrt( 1 - ( --k * k ) );
style: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
fn: function (k) {
var b = 4;
return ( k = k - 1 ) * k * ( ( b + 1 ) * k + b ) + 1;
style: '',
fn: function (k) {
if ( ( k /= 1 ) & ( 1 / 2.75 ) ) {
return 7.5625 * k *
} else if ( k & ( 2 / 2.75 ) ) {
return 7.5625 * ( k -= ( 1.5 / 2.75 ) ) * k + 0.75;
} else if ( k & ( 2.5 / 2.75 ) ) {
return 7.5625 * ( k -= ( 2.25 / 2.75 ) ) * k + 0.9375;
return 7.5625 * ( k -= ( 2.625 / 2.75 ) ) * k + 0.984375;
elastic: {
style: '',
fn: function (k) {
var f = 0.22,
if ( k === 0 ) {
if ( k == 1 ) {
return ( e * Math.pow( 2, - 10 * k ) * Math.sin( ( k - f / 4 ) * ( 2 * Math.PI ) / f ) + 1 );
me.tap = function (e, eventName) {
var ev = document.createEvent('Event');
ev.initEvent(eventName, true, true);
ev.pageX = e.pageX;
ev.pageY = e.pageY;
e.target.dispatchEvent(ev);
me.click = function (e) {
var target = e.target,
if ( !(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName) ) {
ev = document.createEvent('MouseEvents');
ev.initMouseEvent('click', true, true, e.view, 1,
target.screenX, target.screenY, target.clientX, target.clientY,
e.ctrlKey, e.altKey, e.shiftKey, e.metaKey,
ev._constructed =
target.dispatchEvent(ev);
function IScroll (el, options) {
this.wrapper = typeof el == 'string' ? document.querySelector(el) :
this.scroller = this.wrapper.children[0];
this.scrollerStyle = this.scroller.
// cache style for better performance
this.options = {
resizeScrollbars: true,
mouseWheelSpeed: 20,
snapThreshold: 0.334,
// INSERT POINT: OPTIONS
startX: 0,
startY: 0,
scrollY: true,
directionLockThreshold: 5,
momentum: true,
bounce: true,
bounceTime: 600,
bounceEasing: '',
preventDefault: true,
preventDefaultException: {
tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/
HWCompositing: true,
useTransition: true,
useTransform: true
for ( var i in options ) {
this.options[i] = options[i];
// Normalize options
this.translateZ = this.options.HWCompositing && utils.hasPerspective ? ' translateZ(0)' : '';
this.options.useTransition = utils.hasTransition && this.options.useT
this.options.useTransform = utils.hasTransform && this.options.useT
this.options.eventPassthrough = this.options.eventPassthrough === true ? 'vertical' : this.options.eventP
this.options.preventDefault = !this.options.eventPassthrough && this.options.preventD
// If you want eventPassthrough I have to lock one of the axes
this.options.scrollY = this.options.eventPassthrough == 'vertical' ? false : this.options.scrollY;
this.options.scrollX = this.options.eventPassthrough == 'horizontal' ? false : this.options.scrollX;
// With eventPassthrough we also need lockDirection mechanism
this.options.freeScroll = this.options.freeScroll && !this.options.eventP
this.options.directionLockThreshold = this.options.eventPassthrough ? 0 : this.options.directionLockT
this.options.bounceEasing = typeof this.options.bounceEasing == 'string' ? utils.ease[this.options.bounceEasing] || utils.ease.circular : this.options.bounceE
this.options.resizePolling = this.options.resizePolling === undefined ? 60 : this.options.resizeP
if ( this.options.tap === true ) {
this.options.tap = 'tap';
if ( this.options.shrinkScrollbars == 'scale' ) {
this.options.useTransition =
this.options.invertWheelDirection = this.options.invertWheelDirection ? -1 : 1;
if ( this.options.probeType == 3 ) {
this.options.useTransition =
// INSERT POINT: NORMALIZATION
// Some defaults
this.x = 0;
this.y = 0;
this.directionX = 0;
this.directionY = 0;
this._events = {
// INSERT POINT: DEFAULTS
this._init();
this.refresh();
this.scrollTo(this.options.startX, this.options.startY);
this.enable();
IScroll.prototype = {
version: '5.1.3',
_init: function () {
this._initEvents();
if ( this.options.scrollbars || this.options.indicators ) {
this._initIndicators();
if ( this.options.mouseWheel ) {
this._initWheel();
if ( this.options.snap ) {
this._initSnap();
if ( this.options.keyBindings ) {
this._initKeys();
// INSERT POINT: _init
destroy: function () {
this._initEvents(true);
this._execEvent('destroy');
_transitionEnd: function (e) {
if ( e.target != this.scroller || !this.isInTransition ) {
this._transitionTime();
if ( !this.resetPosition(this.options.bounceTime) ) {
this.isInTransition =
this._execEvent('scrollEnd');
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
if ( !this.enabled || (this.initiated && utils.eventType[e.type] !== this.initiated) ) {
if ( this.options.preventDefault && !utils.isBadAndroid && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {
e.preventDefault();
var point = e.touches ? e.touches[0] : e,
this.initiated = utils.eventType[e.type];
this.moved
this.distX
this.distY
this.direc
(Not finished, please download and read the complete file)
Expand> <Close
Want complete source code? Download it here
0 lines left, continue to read ▼
Sponsored links
Tips: You can preview the content of files by clicking file names^_^
MIT1.05 kB 16:11
2.91 kB 16:11
107.00 B 16:11
16.94 kB 16:11
72.18 kB 16:11
6.81 kB 16:11
flat.color.less9.85 kB 16:11
21.49 kB 16:11
61.00 B 16:11
iconform.eot9.60 kB 16:11
iconform.svg19.01 kB 16:11
iconform.ttf9.43 kB 16:11
iconform.woff9.51 kB 16:11
iconline.eot98.11 kB 16:11
iconline.svg236.89 kB 16:11
iconline.ttf97.94 kB 16:11
iconline.woff98.02 kB 16:11
iconlogo.eot249.02 kB 16:11
iconlogo.svg709.58 kB 16:11
iconlogo.ttf248.86 kB 16:11
iconlogo.woff248.93 kB 16:11
iconweather.eot45.99 kB 16:11
iconweather.svg105.02 kB 16:11
iconweather.ttf45.81 kB 16:11
iconweather.woff45.89 kB 16:11
2.05 kB 16:11
12.65 kB 16:11
3.20 kB 16:11
3.88 kB 16:11
20.60 kB 16:11
10.18 kB 16:11
12.16 kB 16:11
10.09 kB 16:11
11.57 kB 16:11
9.65 kB 16:11
23.74 kB 16:11
19.14 kB 16:11
ratchicons.eot11.41 kB 16:11
ratchicons.svg11.55 kB 16:11
ratchicons.ttf11.24 kB 16:11
ratchicons.woff6.62 kB 16:11
24.98 kB 16:11
10.44 kB 16:11
pull-icon@2x.png850.00 B 16:11
64.02 kB 16:11
4.79 kB 16:11
10.51 kB 16:11
16.35 kB 16:11
998.00 B 16:11
4.01 kB 16:11
201.00 B 16:11
3.57 kB 16:11
17.76 kB 16:11
166.00 B 16:11
4.35 kB 16:11
5.20 kB 16:11
38.11 kB 16:11
23.12 kB 16:11
49.53 kB 16:11
53.49 kB 16:11
48.96 kB 16:11
241.59 kB 16:11
82.34 kB 16:11
81.88 kB 16:11
24.95 kB 16:11
23.45 kB 16:11
127.00 B 16:11
4.85 kB 16:11
3.12 kB 16:11
8.08 kB 16:11
2.83 kB 16:11
11.73 kB 16:11
16.94 kB 16:11
72.18 kB 16:11
6.81 kB 16:11
flat.color.less9.85 kB 16:11
21.49 kB 16:11
61.00 B 16:11
iconform.eot9.60 kB 16:11
iconform.svg19.01 kB 16:11
iconform.ttf9.43 kB 16:11
iconform.woff9.51 kB 16:11
iconline.eot98.11 kB 16:11
iconline.svg236.89 kB 16:11
iconline.ttf97.94 kB 16:11
iconline.woff98.02 kB 16:11
iconlogo.eot249.02 kB 16:11
iconlogo.svg709.58 kB 16:11
iconlogo.ttf248.86 kB 16:11
iconlogo.woff248.93 kB 16:11
iconweather.eot45.99 kB 16:11
iconweather.svg105.02 kB 16:11
iconweather.ttf45.81 kB 16:11
iconweather.woff45.89 kB 16:11
2.05 kB 16:11
12.65 kB 16:11
3.20 kB 16:11
3.88 kB 16:11
20.60 kB 16:11
10.18 kB 16:11
12.16 kB 16:11
10.09 kB 16:11
11.57 kB 16:11
9.65 kB 16:11
23.74 kB 16:11
19.14 kB 16:11
ratchicons.eot11.41 kB 16:11
ratchicons.svg11.55 kB 16:11
ratchicons.ttf11.24 kB 16:11
ratchicons.woff6.62 kB 16:11
24.98 kB 16:11
10.44 kB 16:11
pull-icon@2x.png850.00 B 16:11
64.02 kB 16:11
374.00 B 16:11
album.png4.26 kB 16:11
chat.png4.02 kB 16:11
comments.png4.02 kB 16:11
down.png1.73 kB 16:11
earth.png6.02 kB 16:11
file.png4.16 kB 16:11
friends.png6.85 kB 16:11
home.png5.02 kB 16:11
img.png5.10 kB 16:11
message.png4.45 kB 16:11
phone.png15.76 kB 16:11
position.png6.99 kB 16:11
pull.png2.28 kB 16:11
readmark.png2.75 kB 16:11
search.png5.48 kB 16:11
share.png6.47 kB 16:11
tel.png6.88 kB 16:11
androidbg.png1.62 kB 16:11
about.png3.97 kB 16:11
about_active.png2.09 kB 16:11
contact.png1.94 kB 16:11
doc.png1.44 kB 16:11
feedback.png4.24 kB 16:11
feedback_active.png2.24 kB 16:11
guide.png4.90 kB 16:11
guide_active.png2.79 kB 16:11
newspaper.png1.73 kB 16:11
notice.png2.20 kB 16:11
photo.jpg11.16 kB 16:11
photo.png6.41 kB 16:11
switch_off.png4.39 kB 16:11
switch_on.png2.08 kB 16:11
trash.png4.10 kB 16:11
trash_active.png2.15 kB 16:11
weather.png2.47 kB 16:11
weather_active.png1.15 kB 16:11
weibo.png5.46 kB 16:11
weibo_active.png3.09 kB 16:11
ca.png5.92 kB 16:11
iosbg.png1.58 kB 16:11
defaultimg.png1.61 kB 16:11
list_img.jpg2.14 kB 16:11
logo-exmobi.png6.33 kB 16:11
logobg.png9.15 kB 16:11
slide1.jpg15.50 kB 16:11
slide2.jpg16.68 kB 16:11
slide3.jpg42.53 kB 16:11
top.png481.00 B 16:11
4.39 kB 16:11
463.00 B 16:11
8.76 kB 16:11
4.79 kB 16:11
10.51 kB 16:11
16.35 kB 16:11
998.00 B 16:11
4.01 kB 16:11
201.00 B 16:11
3.57 kB 16:11
17.76 kB 16:11
166.00 B 16:11
4.35 kB 16:11
5.20 kB 16:11
38.11 kB 16:11
23.12 kB 16:11
49.53 kB 16:11
53.49 kB 16:11
48.96 kB 16:11
241.59 kB 16:11
82.34 kB 16:11
81.88 kB 16:11
24.95 kB 16:11
23.45 kB 16:11
5.67 kB 16:11
14.80 kB 16:11
3.20 kB 16:11
11.80 kB 16:11
51.38 kB 16:11
7.73 kB 16:11
12.28 kB 16:11
12.27 kB 16:11
568.00 B 16:11
template.json44.00 B 16:11
7.99 kB 16:11
6.46 kB 16:11
9.04 kB 16:11
7.19 kB 16:11
4.63 kB 16:11
2.66 kB 16:11
6.20 kB 16:11
978.00 B 16:11
632.00 B 16:11
2.12 kB 16:11
1.78 kB 16:11
1.13 kB 16:11
3.88 kB 16:11
4.42 kB 16:11
7.60 kB 16:11
6.58 kB 16:11
6.57 kB 16:11
logo.png5.31 kB 16:11
main.png121.41 kB 16:11
selectedlogo.png7.51 kB 16:11
index.uixml301.00 B 16:11
4.85 kB 16:11
3.12 kB 16:11
8.08 kB 16:11
2.83 kB 16:11
11.73 kB 16:11
16.94 kB 16:11
72.18 kB 16:11
6.81 kB 16:11
flat.color.less9.85 kB 16:11
21.49 kB 16:11
61.00 B 16:11
iconform.eot9.60 kB 16:11
iconform.svg19.01 kB 16:11
iconform.ttf9.43 kB 16:11
iconform.woff9.51 kB 16:11
iconline.eot98.11 kB 16:11
iconline.svg236.89 kB 16:11
iconline.ttf97.94 kB 16:11
iconline.woff98.02 kB 16:11
iconlogo.eot249.02 kB 16:11
iconlogo.svg709.58 kB 16:11
iconlogo.ttf248.86 kB 16:11
iconlogo.woff248.93 kB 16:11
iconweather.eot45.99 kB 16:11
iconweather.svg105.02 kB 16:11
iconweather.ttf45.81 kB 16:11
iconweather.woff45.89 kB 16:11
2.05 kB 16:11
12.65 kB 16:11
3.20 kB 16:11
3.88 kB 16:11
20.60 kB 16:11
10.18 kB 16:11
12.16 kB 16:11
10.09 kB 16:11
11.57 kB 16:11
9.65 kB 16:11
23.74 kB 16:11
19.14 kB 16:11
ratchicons.eot11.41 kB 16:11
ratchicons.svg11.55 kB 16:11
ratchicons.ttf11.24 kB 16:11
ratchicons.woff6.62 kB 16:11
24.98 kB 16:11
10.44 kB 16:11
pull-icon@2x.png850.00 B 16:11
64.02 kB 16:11
374.00 B 16:11
album.png4.26 kB 16:11
chat.png4.02 kB 16:11
comments.png4.02 kB 16:11
down.png1.73 kB 16:11
earth.png6.02 kB 16:11
file.png4.16 kB 16:11
friends.png6.85 kB 16:11
home.png5.02 kB 16:11
img.png5.10 kB 16:11
message.png4.45 kB 16:11
phone.png15.76 kB 16:11
position.png6.99 kB 16:11
pull.png2.28 kB 16:11
readmark.png2.75 kB 16:11
search.png5.48 kB 16:11
share.png6.47 kB 16:11
tel.png6.88 kB 16:11
androidbg.png1.62 kB 16:11
about.png3.97 kB 16:11
about_active.png2.09 kB 16:11
contact.png1.94 kB 16:11
doc.png1.44 kB 16:11
feedback.png4.24 kB 16:11
feedback_active.png2.24 kB 16:11
guide.png4.90 kB 16:11
guide_active.png2.79 kB 16:11
newspaper.png1.73 kB 16:11
notice.png2.20 kB 16:11
photo.jpg11.16 kB 16:11
photo.png6.41 kB 16:11
switch_off.png4.39 kB 16:11
switch_on.png2.08 kB 16:11
trash.png4.10 kB 16:11
trash_active.png2.15 kB 16:11
weather.png2.47 kB 16:11
weather_active.png1.15 kB 16:11
weibo.png5.46 kB 16:11
weibo_active.png3.09 kB 16:11
ca.png5.92 kB 16:11
iosbg.png1.58 kB 16:11
defaultimg.png1.61 kB 16:11
list_img.jpg2.14 kB 16:11
logo-exmobi.png6.33 kB 16:11
logobg.png9.15 kB 16:11
slide1.jpg15.50 kB 16:11
slide2.jpg16.68 kB 16:11
slide3.jpg42.53 kB 16:11
top.png481.00 B 16:11
4.39 kB 16:11
463.00 B 16:11
8.76 kB 16:11
4.79 kB 16:11
10.51 kB 16:11
16.35 kB 16:11
998.00 B 16:11
4.01 kB 16:11
201.00 B 16:11
3.57 kB 16:11
17.76 kB 16:11
166.00 B 16:11
4.35 kB 16:11
5.20 kB 16:11
38.11 kB 16:11
23.12 kB 16:11
49.53 kB 16:11
53.49 kB 16:11
48.96 kB 16:11
241.59 kB 16:11
82.34 kB 16:11
81.88 kB 16:11
24.95 kB 16:11
23.45 kB 16:11
5.67 kB 16:11
14.80 kB 16:11
3.20 kB 16:11
11.80 kB 16:11
51.38 kB 16:11
7.73 kB 16:11
12.28 kB 16:11
12.27 kB 16:11
568.00 B 16:11
template.json44.00 B 16:11
7.99 kB 16:11
6.46 kB 16:11
9.04 kB 16:11
7.19 kB 16:11
4.63 kB 16:11
2.66 kB 16:11
6.20 kB 16:11
978.00 B 16:11
632.00 B 16:11
2.12 kB 16:11
1.78 kB 16:11
1.13 kB 16:11
3.88 kB 16:11
4.42 kB 16:11
7.60 kB 16:11
6.58 kB 16:11
6.57 kB 16:11
141.00 B 16:11
141.00 B 16:11
568.00 B 16:11
233.00 B 16:11
193.00 B 16:11
4.85 kB 16:11
3.12 kB 16:11
8.08 kB 16:11
2.83 kB 16:11
11.73 kB 16:11
16.94 kB 16:11
72.18 kB 16:11
6.81 kB 16:11
flat.color.less9.85 kB 16:11
21.49 kB 16:11
61.00 B 16:11
iconform.eot9.60 kB 16:11
iconform.svg19.01 kB 16:11
iconform.ttf9.43 kB 16:11
iconform.woff9.51 kB 16:11
iconline.eot98.11 kB 16:11
iconline.svg236.89 kB 16:11
iconline.ttf97.94 kB 16:11
iconline.woff98.02 kB 16:11
iconlogo.eot249.02 kB 16:11
iconlogo.svg709.58 kB 16:11
iconlogo.ttf248.86 kB 16:11
iconlogo.woff248.93 kB 16:11
iconweather.eot45.99 kB 16:11
iconweather.svg105.02 kB 16:11
iconweather.ttf45.81 kB 16:11
iconweather.woff45.89 kB 16:11
2.05 kB 16:11
12.65 kB 16:11
3.20 kB 16:11
3.88 kB 16:11
20.60 kB 16:11
10.18 kB 16:11
12.16 kB 16:11
10.09 kB 16:11
11.57 kB 16:11
9.65 kB 16:11
23.74 kB 16:11
19.14 kB 16:11
ratchicons.eot11.41 kB 16:11
ratchicons.svg11.55 kB 16:11
ratchicons.ttf11.24 kB 16:11
ratchicons.woff6.62 kB 16:11
24.98 kB 16:11
10.44 kB 16:11
pull-icon@2x.png850.00 B 16:11
64.02 kB 16:11
374.00 B 16:11
album.png4.26 kB 16:11
chat.png4.02 kB 16:11
comments.png4.02 kB 16:11
down.png1.73 kB 16:11
earth.png6.02 kB 16:11
file.png4.16 kB 16:11
friends.png6.85 kB 16:11
home.png5.02 kB 16:11
img.png5.10 kB 16:11
message.png4.45 kB 16:11
phone.png15.76 kB 16:11
position.png6.99 kB 16:11
pull.png2.28 kB 16:11
readmark.png2.75 kB 16:11
search.png5.48 kB 16:11
share.png6.47 kB 16:11
tel.png6.88 kB 16:11
androidbg.png1.62 kB 16:11
about.png3.97 kB 16:11
about_active.png2.09 kB 16:11
contact.png1.94 kB 16:11
doc.png1.44 kB 16:11
feedback.png4.24 kB 16:11
feedback_active.png2.24 kB 16:11
guide.png4.90 kB 16:11
guide_active.png2.79 kB 16:11
newspaper.png1.73 kB 16:11
notice.png2.20 kB 16:11
photo.jpg11.16 kB 16:11
photo.png6.41 kB 16:11
switch_off.png4.39 kB 16:11
switch_on.png2.08 kB 16:11
trash.png4.10 kB 16:11
trash_active.png2.15 kB 16:11
weather.png2.47 kB 16:11
weather_active.png1.15 kB 16:11
weibo.png5.46 kB 16:11
weibo_active.png3.09 kB 16:11
ca.png5.92 kB 16:11
iosbg.png1.58 kB 16:11
defaultimg.png1.61 kB 16:11
list_img.jpg2.14 kB 16:11
logo-exmobi.png6.33 kB 16:11
logobg.png9.15 kB 16:11
slide1.jpg15.50 kB 16:11
slide2.jpg16.68 kB 16:11
slide3.jpg42.53 kB 16:11
top.png481.00 B 16:11
4.39 kB 16:11
463.00 B 16:11
8.76 kB 16:11
4.79 kB 16:11
10.51 kB 16:11
16.35 kB 16:11
998.00 B 16:11
4.01 kB 16:11
201.00 B 16:11
3.57 kB 16:11
17.76 kB 16:11
166.00 B 16:11
4.35 kB 16:11
5.20 kB 16:11
38.11 kB 16:11
23.12 kB 16:11
49.53 kB 16:11
53.49 kB 16:11
48.96 kB 16:11
241.59 kB 16:11
82.34 kB 16:11
81.88 kB 16:11
24.95 kB 16:11
23.45 kB 16:11
5.67 kB 16:11
14.80 kB 16:11
3.20 kB 16:11
11.80 kB 16:11
51.38 kB 16:11
7.73 kB 16:11
12.28 kB 16:11
12.27 kB 16:11
568.00 B 16:11
template.json44.00 B 16:11
7.99 kB 16:11
6.46 kB 16:11
9.04 kB 16:11
7.19 kB 16:11
4.63 kB 16:11
2.66 kB 16:11
6.20 kB 16:11
978.00 B 16:11
632.00 B 16:11
2.12 kB 16:11
1.78 kB 16:11
1.13 kB 16:11
3.88 kB 16:11
4.42 kB 16:11
7.60 kB 16:11
6.58 kB 16:11
6.57 kB 16:11
545.00 B 16:11
Sponsored links
Sent successfully!
nandy007-agile-lite-master.zip
Your Point(s)
Your Point isn't enough.
Get point immediately by PayPal
10 Points / $20
22 Points / $40
55 Points / $100
120 Points / $200
point will be added to your account automatically after the transaction.
Don't have an account?
Need any help?
切换到中文版?
^_^"Oops ...
Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
Favorite byiscroll5 - scroll event not found in the latest version of iscroll.js [iscroll5滚动事件没有发现在iscroll.js最新版本] - 问题-字节技术
iscroll5 - scroll event not found in the latest version of iscroll.js
iscroll5滚动事件没有发现在iscroll.js最新版本
问题 (Question)
I am trying the "Drag to refresh" functionality for mobiles using iscroll.js.
It is working fine with iscroll.js
version 4. However to fix an issue in IE, I had to update the plugin to version 5.
After analyzing for few hours, I found in some of the forums that the "onScrollMove" in version 4 is replaced with "scroll" event in version 5.
But the iscroll.js (version 5) plugin is not having the scroll event.
Can somebody help me in "how to use onScrollMove event in iScroll5.js"?
我想“拖动刷新”的手机使用iscroll.js功能。它好工作是iscroll.js版。然而在IE修复的问题,我不得不更新插件版本5。经过几个小时的分析,我发现在一些论坛,“onscrollmove”是在4版“5版中的涡旋”事件所取代。但iscroll.js(版本5)的插件是没有滚动。有人可以帮助我在“如何使用onscrollmove iscroll5事件。JS”?感谢
最佳答案 (Best Answer)
you should use iscroll-probe.js then you can get "scroll" event
你应该使用iscroll-probe.js然后你可以“滚动”事件
本文翻译自StackoverFlow,英语好的童鞋可直接参考原文:

我要回帖

更多关于 iscroll probe 的文章

 

随机推荐