-
staticInfinite.append(sectionId, data){Infinite}
-
append data after a section
Name |
Type |
Description |
sectionId |
string
|
sectionId for the append cell |
data |
object
|
data to append |
-
staticInfinite.get(sectionId, index){object}
-
get data by sectionId and index
Name |
Type |
Description |
sectionId |
string
|
sectionId |
index |
number
|
index in the section |
Returns:
data
-
staticInfinite.getVisibleElements(pos){object}
-
get all elements inside of the view.
Name |
Type |
Description |
pos |
number
|
scrollLeft or scrollTop |
-
staticInfinite.insertAfter(sectionId, index, data){Infinite}
-
insert data after a position
Name |
Type |
Description |
sectionId |
string
|
sectionId of the target cell |
index |
number
|
index of the target cell |
data |
object
|
data to insert |
-
staticInfinite.insertBefore(sectionId, index, data){Infinite}
-
insert data before a position
Name |
Type |
Description |
sectionId |
string
|
sectionId of the target cell |
index |
number
|
index of the target cell |
data |
object
|
data to insert |
-
staticInfinite.pluginDestructor(){Infinite}
-
detroy the plugin
-
staticInfinite.pluginInitializer(){Infinite}
-
plugin initializer
-
staticInfinite.remove(sectionId, from, number){Infinite}
-
remove some data by sectionId,from,number
Name |
Type |
Description |
sectionId |
string
|
sectionId for the append cell |
from |
number
|
removed index from |
number |
number
|
removed data number |
-
-
render or update the scroll contents
-
staticInfinite.replace(sectionId, index, data){Infinite}
-
replace some data by sectionId and index
Name |
Type |
Description |
sectionId |
string
|
sectionId to replace |
index |
number
|
removed index from |
data |
object
|
new data to replace |