Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SakuraWood/fixed-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fixed-list

A list of fixed-height children view

Usage

the child view's height must be fixed,otherwise can not calculate the total of height.

Initialize

// the parentNode of all the children view's container
fixList = new FixedList(parentNode);
// if you have a function to generate the content html, you also can use this:
fixList =new FixedList(parentNode,content,getChildContent);
// the first param is cols, and the second param is the number of children view you want to show
fixList.initList(2, 8);

Refresh your datas

// datas can be object, array and string.
fixList.refreshData(datas);

Refresh the data partly

fixList.refreshPart(data,1,10,20);

About

Diaplay a list contains a large number of datas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors