We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a09a9ca + 2025d5d commit 010cfbbCopy full SHA for 010cfbb
src/slide.jsx
@@ -21,7 +21,8 @@ const Slide = React.createClass({
21
presenterStyle: React.PropTypes.object,
22
children: React.PropTypes.node,
23
notes: React.PropTypes.string,
24
- slideIndex: React.PropTypes.number
+ slideIndex: React.PropTypes.number,
25
+ lastSlide: React.PropTypes.number
26
},
27
contextTypes: {
28
styles: React.PropTypes.object,
@@ -57,7 +58,7 @@ const Slide = React.createClass({
57
58
this.context.flux.actions.SlideActions.addFragment({
59
slide: this.props.slideIndex,
60
id: i,
- visible: false
61
+ visible: this.props.lastSlide > this.props.slideIndex
62
});
63
64
}
0 commit comments