This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
v0.3.x, springOptions, getAbsolutePosition, noAnimation + misc
New:
- Updated versioning strategy so that the major/minor version (v0.3) matches the compatible famo.us version (v0.3.5).
- Added
.getAbsolutePosition
to FlexScrollView. - Added
.move
function. - Added
noAnimation
argument to all.goToXX
functions. - Added
flowOptions.properties
for controlling which properties (size, translate, etc...) are flowable. - Added
.resetFlowState
function for immediately going to the last laid out end-state. - Added
zIncrement
option to TabBarLayout.
Improvements:
- Renamed
nodeSpring
toflowOptions.spring
(nodeSpring
still works but logs a warning). - Moved
insertSpec
andremoveSpec
insideflowOptions
(logs a warning when used outsideflowOptions
). - Event property
.scrollOffset
now contains the absolute scrolling position. - Updated
.remove
so that it returns the removed renderable. - Added integrity checks for detecting corrupted ViewSequences.
- Various updates to FlexScrollView tutorial.
Fixed:
- Fixed exception that could occur after calling
.remove
. - Fixed exception when calling
.getSpec
from thelayoutend
event (event was fired too early). - Fixed true-size not always re-evaluated after the content of a surface has been changed.
- Fixed some non-smooth flowing animations in LayoutController when
flow=true
andreflowOnResize=true
. - Fixed reflow from happening when hiding and reshowing a LayoutController.
- Fixed rare node-transform initialisation issue when flow-mode is disabled.
- Fixed rare exception in
.releaseScrollForce
when no first or last visible item existed. - Using
headerSize=0
in HeaderFooterLayout incorrectly causes the size from the renderable to be used. - Fixed various typos in documentation.