constructor()

in frontend/src/containers/Home.js [25:48]


  constructor(props) {
    super(props);

    this.state = {
      isLoading: true,
      fabs: [],
      cameras: {},
      from_date: new Date(),
      to_date: new Date(),
      selectedFab: "",
      selectedCam: "",
      imglist: [],
      selectedImg: 0,
      accuracy: 0.0,
      selectedActual: ""
    };

    this.handleFromDate = this.handleFromDate.bind(this);
    this.handleToDate = this.handleToDate.bind(this);
    this.handleImgPrev = this.handleImgPrev.bind(this);
    this.handleImgNext = this.handleImgNext.bind(this);
    this.handleActualSelect = this.handleActualSelect.bind(this);
    this.handleActualSubmit = this.handleActualSubmit.bind(this);
  }