Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
iScroll
Class iScroll
Index
Constructor methods
constructor
Methods
destroy
disable
enable
refresh
scrollTo
scrollToElement
stop
Constructor methods
constructor
(
element
:
string
, options
?:
iScrollOptions
)
:
iScroll
Parameters
element:
string
options?:
iScrollOptions
optional
Returns
iScroll
constructor
(
element
:
HTMLElement
, options
?:
iScrollOptions
)
:
iScroll
Parameters
element:
HTMLElement
options?:
iScrollOptions
optional
Returns
iScroll
Methods
public
destroy
(
)
public
disable
(
)
public
enable
(
)
public
refresh
(
)
public
scrollTo
(
x
:
number
, y
:
number
, time
?:
number
, relative
?:
boolean
)
Parameters
x:
number
y:
number
time?:
number
optional
relative?:
boolean
optional
public
scrollToElement
(
element
:
string
, time
?:
number
)
Parameters
element:
string
time?:
number
optional
public
scrollToElement
(
element
:
HTMLElement
, time
?:
number
)
Parameters
element:
HTMLElement
time?:
number
optional
public
stop
(
)
Globals