mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add iScroll tests
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/// <reference path="iscroll-4.2.d.ts" />
|
||||
|
||||
var myScroll1 = new iScroll('wrapper');
|
||||
var myScroll2 = new iScroll('wrapper', { hScrollbar: false, vScrollbar: false });
|
||||
var myScroll3= new iScroll('wrapper', {
|
||||
snap: true,
|
||||
momentum: false,
|
||||
hScrollbar: false,
|
||||
vScrollbar: false
|
||||
});
|
||||
var myScroll4 = new iScroll('wrapper', {
|
||||
snap: 'li',
|
||||
momentum: false,
|
||||
hScrollbar: false,
|
||||
vScrollbar: false
|
||||
});
|
||||
var myScroll6 = new iScroll('wrapper', { scrollbarClass: 'myScrollbar' });
|
||||
|
||||
myScroll1.refresh();
|
||||
Reference in New Issue
Block a user