Podcast
Questions and Answers
Que fait la fonction if (this.stickyScrollerIsScrolling) return clearTimeout(this.contentScrollerTimer)
?
Que fait la fonction if (this.stickyScrollerIsScrolling) return clearTimeout(this.contentScrollerTimer)
?
- Définit `contentScrollerIsScrolling` sur vrai si `stickyScrollerIsScrolling` est vrai
- Définit `stickyScrollerIsScrolling` sur vrai si `contentScrollerIsScrolling` est vrai
- Annule le délai d'attente du `contentScrollerTimer` si `stickyScrollerIsScrolling` est vrai (correct)
- Aucune de ces réponses n'est correcte
Quelle est la fonction de this.contentScrollerTimer = setTimeout(() => { this.contentScrollerIsScrolling = false }, 100)
?
Quelle est la fonction de this.contentScrollerTimer = setTimeout(() => { this.contentScrollerIsScrolling = false }, 100)
?
- Elle définit `stickyScrollerIsScrolling` sur vrai après un délai de 100 millisecondes
- Elle définit `contentScrollerIsScrolling` sur vrai après un délai de 100 millisecondes
- Elle définit `contentScrollerIsScrolling` sur faux après un délai de 100 millisecondes (correct)
- Elle définit `stickyScrollerIsScrolling` sur faux après un délai de 100 millisecondes
Que fait la fonction if (this.contentScrollerIsScrolling) return clearTimeout(this.sticckyScrollerTimer)
?
Que fait la fonction if (this.contentScrollerIsScrolling) return clearTimeout(this.sticckyScrollerTimer)
?
- Aucune de ces réponses n'est correcte
- Définit `contentScrollerIsScrolling` sur vrai si `stickyScrollerIsScrolling` est vrai
- Définit `stickyScrollerIsScrolling` sur vrai si `contentScrollerIsScrolling` est vrai
- Annule le délai d'attente du `sticckyScrollerTimer` si `contentScrollerIsScrolling` est vrai (correct)
Quelle est la fonction de this.sticckyScrollerTimer = setTimeout(() => { this.stickyScrollerIsScrolling = false }, 100)
?
Quelle est la fonction de this.sticckyScrollerTimer = setTimeout(() => { this.stickyScrollerIsScrolling = false }, 100)
?
Quelle est la différence entre this.contentScrollerIsScrolling
et this.stickyScrollerIsScrolling
?
Quelle est la différence entre this.contentScrollerIsScrolling
et this.stickyScrollerIsScrolling
?
¿Cuál es el propósito principal de la función setTimeout
utilizada en este código?
¿Cuál es el propósito principal de la función setTimeout
utilizada en este código?
¿Cuál es la diferencia entre this.contentScrollerIsScrolling
y this.stickyScrollerIsScrolling
?
¿Cuál es la diferencia entre this.contentScrollerIsScrolling
y this.stickyScrollerIsScrolling
?
¿Cuál es el propósito de las instrucciones if (this.stickyScrollerIsScrolling) return clearTimeout(this.contentScrollerTimer)
y if (this.contentScrollerIsScrolling) return clearTimeout(this.sticckyScrollerTimer)
?
¿Cuál es el propósito de las instrucciones if (this.stickyScrollerIsScrolling) return clearTimeout(this.contentScrollerTimer)
y if (this.contentScrollerIsScrolling) return clearTimeout(this.sticckyScrollerTimer)
?
¿Cuál es el propósito de la instrucción $refs.stickyScroller.parentElement.scrollLeft = e.target.scrollLeft
?
¿Cuál es el propósito de la instrucción $refs.stickyScroller.parentElement.scrollLeft = e.target.scrollLeft
?
¿Cuál es el propósito de la instrucción $refs.contentScroller.scrollLeft = e.target.scrollLeft
?
¿Cuál es el propósito de la instrucción $refs.contentScroller.scrollLeft = e.target.scrollLeft
?