Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.onIndexSelected = this.onIndexSelected.bind(this);
this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
this.onBackButton = this.onBackButton.bind(this);
this.getNavbarProps = this.getNavbarProps.bind(this);
this.state = {
mode: ImageGallery.IMAGE_GALLERY_MODE,
selectedPhotoIndex: 0,
shouldRenderGallery: false,
};
}
constructor(props) {
super(props);
this.onIndexSelected = this.onIndexSelected.bind(this);
this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
this.onBackButton = this.onBackButton.bind(this);
this.getNavbarProps = this.getNavbarProps.bind(this);
this.state = {
mode: ImageGallery.IMAGE_GALLERY_MODE,
selectedPhotoIndex: 0,
shouldRenderGallery: false,
};
}
constructor(props) {
super(props);
this.onIndexSelected = this.onIndexSelected.bind(this);
this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
this.onBackButton = this.onBackButton.bind(this);
this.getNavbarProps = this.getNavbarProps.bind(this);
this.state = {
mode: ImageGallery.IMAGE_GALLERY_MODE,
selectedPhotoIndex: 0,
shouldRenderGallery: false,
};
}
constructor(props) {
super(props);
this.onIndexSelected = this.onIndexSelected.bind(this);
this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
this.onBackButton = this.onBackButton.bind(this);
this.getNavbarProps = this.getNavbarProps.bind(this);
this.state = {
mode: ImageGallery.IMAGE_GALLERY_MODE,
selectedPhotoIndex: 0,
shouldRenderGallery: false,
};
}