We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Podemos tratar este problema usando requestAnimationFrame.
We can address this issue by using requestAnimationFrame.
Utiliza requestAnimationFrame para el tiempo de presentación.
Uses requestAnimationFrame for the slideshow timing.
Idealmente, todo lo que genera un cambio visible en la página debería suceder dentro de una llamada de requestAnimationFrame.
Ideally, anything that makes a visible change to the page should happen inside a requestAnimationFrame call.
En el último paso hicimos que requestAnimationFrame potenciara la animación del lienzo, y ahora tenemos un nuevo problema.
In the last step we made requestAnimationFrame power the canvas animation, and now we have a new problem.
Esto duerme hasta que requestAnimationFrame es llamado y no contamina el hilo principal, además de que no estás dependiendo de métodos anticuados.
This sleeps until requestAnimationFrame is called and does not pollute the main thread, plus you are not relying on old-fashioned methods.
Como aprendiste en el ejercicio anterior, el trabajo visible que se realiza en la página generalmente debería incluirse en una llamada requestAnimationFrame.
As you learned in the previous exercise, visible work that is done to the page should typically go inside a requestAnimationFrame call.
Asegurarnos de usar el callback requestAnimationFrame del dispositivo.
Ensure we use the device's requestAnimationFrame() callback.
Almacena los valores de los eventos y realiza cambios de estilo en la siguiente callback a requestAnimationFrame.
Debounce your handlers; store event values and deal with style changes in the next requestAnimationFrame callback.
El método requestAnimationFrame provee formas amigables y mas eficientes para animar llamando cada marco de animación cuando el sistema esta listo para dibujar.
The requestAnimationFrame method provides a smoother and more efficient way for animating by calling the animation frame when the system is ready to paint the frame.
Si realizas un cambio visual dentro de alguno de estos controladores, al inicio de requestAnimationFrame habrá cambios de estilo pendientes.
If you make a visual change inside one of those handlers, then at the start of the requestAnimationFrame, there will be style changes pending.
Los controladores de entrada, al igual que los que se usan para las funciones táctil y de desplazamiento, se programan para ejecutarse justo antes de los callbacks requestAnimationFrame.
Input handlers, like those for scroll and touch, are scheduled to run just before any requestAnimationFrame callbacks.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.