INNER CODE UNIT · JavaScript

finish

lucasferreira/react-native-flash-message · src/FlashMessage.js:506

      const finish = () => {
        if (!!autoHide && duration > 0) {
          this._hideTimeout = setTimeout(() => this.toggleVisibility(false, animated), duration);
        }

        if (!!done && typeof done === "function") {
          done();
        }
      };

      this.setState({ isHidding: false });
      this.state.visibleValue.setValue(0);

      if (!!onShow && typeof onShow === "function") {
        onShow(this);
      }

      if (!!hideStatusBar) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…