get effectiveDuration() {
      return this.duration < MIN_DURATION ? MIN_DURATION : this.duration;
    }
If the minimum duration is lower than 500ms, we force
it to be 500ms, as described in the documentation.
@private
@returns {*}