Lines Matching refs:index
119 getRef(index) { argument
121 if (!this.refsObj[index]) this.refsObj[index] = ref;
137 this.props.panels.forEach((item, index) => {
139 if (index >= 3) return;
198 scrollToPage(index, animated = true) { argument
199 this.scrollToCard(index, animated);
223 index: 0, property
234 {this.state.panels.map((item, index) => (
236 key={index.toString()}
238 if (index != this.state.currentPageIndex) {
239 this.scrollToPage(index);
240 this.setState({currentPageIndex: index});
247 index === this.state.currentPageIndex &&
408 {this.state.panels.map((item, index) => {
410 <View key={index} style={{width: width}}>