1.0.13 • Published 2 years ago

@easonviip/react-virtual-scroll-list v1.0.13

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

React virtual scroll list

Description:

A scroll grid/list can render a large number of datas.


Install

npm install @easonviip/react-virtual-scroll-list


Story book

npm run storybook


Components

Virtual Grid:

proptypedescriptionmandatory
itemRendererfuncrenderer to render the items in grid.Y
dataarraythe data array to renderer, an array of objects and the objects inside must contain a key property.Y
unitstringthe unit use in the component, default is px.N
tabIndexstringhtml property tabindex.N
directionDirectionthe data direction list in the grid, default is Direction.HORIZONTAL.N
directionLimitCeilsnumberthe limit count of ceils on the data list direction, default is 3.N
widthstringthe width of the grid, default is 500px.N
heightstringthe height of the grid, default is 300px.N
classNamestringhtml property class.N
stylestringhtml property style.N

Virtual List:

proptypedescriptionmandatory
itemRendererfuncrenderer to render the items in grid.Y
dataarraythe data array to renderer, an array of objects and the objects inside must contain a key property.Y
unitstringthe unit use in the component, default is px.N
tabIndexstringhtml property tabindex.N
directionDirectionthe list scroll driection, default is Direction.HORIZONTAL.N
widthstringthe width of the grid. If the direction is HORIZONTAL, width default is 500px. If the direction is VERTICAL, width default is auto.N
heightstringthe height of the grid. If the direction is VERTICAL, height default is 300px. If the direction is HORIZONTAL, height default is auto.N
classNamestringhtml property class.N
stylestringhtml property style.N

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago