-
Notifications
You must be signed in to change notification settings - Fork 96
Migrating from v2.0 to v3.0
Son Chan Uk edited this page Dec 18, 2017
·
9 revisions
InfiniteGrid 3.0.0 rewrote 2.0.0 to provide various layouts. this new version of InfiniteGrid had following features:
- provides various layouts : GridLayout, JustifiedLayout, FrameLayout, SquareLayout, PackingLayout, ...
- provides horizontal and vertical directions.
- provides
horizontal
option.
- improves usability.
- No more requests. It is caching previous added items.
- No more
count
option is required. It is automatically adjusted internally according to the size of the screen.
- count
- isRecycling
- getTopElement
- getBottomElement
- croppedCount and distance properties on layoutComplete event.
- scrollTop on append and prepend events.
-
getGroupKeys
method return groupkey information. -
append/prepend
methods return this. -
isProcessing
methods return loading state.
- useRecycle
- horizontal
- setLayout
- getItems
- setLoadingBar
- getLoadingBar
- startLoading
- endLoading
- added change event
- added scrollPos, orgScrollPos, isScroll properties on layoutComplete event.