mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-25 07:56:54 +08:00
update scrollAnim version
This commit is contained in:
parent
cc73030560
commit
a5c20a9d11
@ -100,7 +100,7 @@
|
|||||||
"lodash": "^3.10.0",
|
"lodash": "^3.10.0",
|
||||||
"nico-jsx": "~0.7.0",
|
"nico-jsx": "~0.7.0",
|
||||||
"pre-commit": "1.x",
|
"pre-commit": "1.x",
|
||||||
"rc-scroll-anim": "^0.1.5",
|
"rc-scroll-anim": "^0.1.6",
|
||||||
"rc-tween-one": "^0.1.8",
|
"rc-tween-one": "^0.1.8",
|
||||||
"react": "0.14.x",
|
"react": "0.14.x",
|
||||||
"react-addons-test-utils": "0.14.x",
|
"react-addons-test-utils": "0.14.x",
|
||||||
|
@ -31,7 +31,7 @@ module.exports = function () {
|
|||||||
$(window).off('scroll.scrollNavEvent');
|
$(window).off('scroll.scrollNavEvent');
|
||||||
$(window).on('scroll.scrollNavEvent', scrollNavEvent);
|
$(window).on('scroll.scrollNavEvent', scrollNavEvent);
|
||||||
// 整屏滚动;
|
// 整屏滚动;
|
||||||
scrollScreen({docHeight: 4746});
|
scrollScreen.init({docHeight: 4746});
|
||||||
// list point
|
// list point
|
||||||
ReactDOM.render((
|
ReactDOM.render((
|
||||||
<div>
|
<div>
|
||||||
@ -59,10 +59,6 @@ module.exports = function () {
|
|||||||
return 'left';
|
return 'left';
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
console.log(122112)
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<ScrollElement scrollName="banner" style={{height: '100%'}}>
|
<ScrollElement scrollName="banner" style={{height: '100%'}}>
|
||||||
|
Loading…
Reference in New Issue
Block a user