{"json_modified": "2016-06-17T01:44:09.458613", "uuid": "70fb90fe-4248-48ec-b1b8-99b840266eac", "title": "Window.requestAnimationFrame()", "url": "/fr/docs/Web/API/Window/requestAnimationFrame", "tags": ["API", "DOM", "Api", "JavaScript"], "translations": [{"uuid": "24846740-db74-4120-954f-16024548bfe0", "title": "window.requestAnimationFrame", "url": "/zh-CN/docs/Web/API/Window/requestAnimationFrame", "tags": [], "summary": "window.requestAnimationFrame()
\u8fd9\u4e2a\u65b9\u6cd5\u662f\u7528\u6765\u5728\u9875\u9762\u91cd\u7ed8\u4e4b\u524d\uff0c\u901a\u77e5\u6d4f\u89c8\u5668\u8c03\u7528\u4e00\u4e2a\u6307\u5b9a\u7684\u51fd\u6570\uff0c\u4ee5\u6ee1\u8db3\u5f00\u53d1\u8005\u64cd\u4f5c\u52a8\u753b\u7684\u9700\u6c42\u3002\u8fd9\u4e2a\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u51fd\u6570\u4e3a\u53c2\uff0c\u8be5\u51fd\u6570\u4f1a\u5728\u91cd\u7ed8\u524d\u8c03\u7528\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-05-22T23:05:39", "review_tags": []}, {"uuid": "43a9297e-5a06-451f-9bb2-81744fe68533", "title": "window.requestAnimationFrame()", "url": "/en-US/docs/Web/API/window/requestAnimationFrame", "tags": ["JavaScript timers", "API", "Intermediate", "NeedsMobileBrowserCompatibility", "DOM Reference", "DOM", "Api", "Method"], "summary": "You should call this method whenever you're ready to update your animation onscreen. This will request that your animation function be called before the browser performs the next repaint. The number of callbacks is usually 60 times per second, but will generally match the display refresh rate in most web browsers as per W3C recommendation. The callback rate may be reduced to a lower rate when running in background tabs or in hidden <iframe>
s in order to improve performance and battery life.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-06-14T01:05:05", "review_tags": []}, {"uuid": "22fad215-0bea-4d0d-b59e-5a4db507d6da", "title": "Window.requestAnimationFrame()", "url": "/es/docs/Web/API/Window/requestAnimationFrame", "tags": [], "summary": "window.requestAnimationFrame\u00a0informa al navegador que quieres realizar una animaci\u00f3n y solicita que el navegador programe el repintado de la ventana para el pr\u00f3ximo ciclo de animaci\u00f3n. El m\u00e9todo acepta como argumento una funci\u00f3n a la que llamar antes de efectuar el repintado.", "localization_tags": [], "locale": "es", "last_edit": "2015-02-24T10:09:51", "review_tags": []}, {"uuid": "3d5ce938-8356-45be-b3e0-3f4c3eff19d7", "title": "window.requestAnimationFrame", "url": "/ru/docs/DOM/window.requestAnimationFrame", "tags": [], "summary": "window.requestAnimationFrame\u00a0\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e, \u0438 \u043f\u0440\u043e\u0441\u0438\u0442 \u0435\u0433\u043e \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u043a\u0443 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043a\u0430\u0434\u0440\u0435 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043c\u0435\u0442\u043e\u0434 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u043d\u0430 \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u043a\u043e\u0439.", "localization_tags": [], "locale": "ru", "last_edit": "2014-12-15T22:19:08", "review_tags": ["editorial"]}, {"uuid": "7da06ffb-2e51-4c70-836c-0b7f2c0b042b", "title": "window.requestAnimationFrame", "url": "/ja/docs/Web/API/Window/requestAnimationFrame", "tags": ["JavaScript timers", "DOM", "DOM Reference"], "summary": "window.requestAnimationFrame()
\u00a0\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306b\u63cf\u753b\u3055\u305b\u305f\u3044\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3001\u6b21\u306e\u518d\u63cf\u753b\u306e\u524d\u306b\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u66f4\u65b0\u3059\u308b\u6307\u5b9a\u3057\u305f\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u8981\u6c42\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u518d\u63cf\u753b\u3059\u308b\u524d\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u30e1\u30bd\u30c3\u30c9\u3092\u5f15\u6570\u306b\u3072\u3068\u3064\u3068\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-02-24T20:55:13", "review_tags": []}, {"uuid": "9189b932-6bf3-44e8-b3a0-8d9ab78e600f", "title": "Window.requestAnimationFrame()", "url": "/zh-TW/docs/Web/API/Window.requestAnimationFrame", "tags": [], "summary": "window.requestAnimationFrame()\u65b9\u6cd5\u901a\u77e5\u700f\u89bd\u5668\u6211\u5011\u60f3\u8981\u7522\u751f\u52d5\u756b\uff0c\u4e26\u4e14\u8981\u6c42\u700f\u89bd\u5668\u5728\u5237\u65b0\u756b\u9762\u524d\u547c\u53eb\u7279\u5b9a\u51fd\u6578\u5237\u65b0\u52d5\u756b\uff1b\u9019\u500b\u65b9\u6cd5\u63a5\u53d7\u4e00\u500b\u51fd\u6578(\u56de\u64a5\u51fd\u6578, Callback)\uff0c\u7136\u5f8c\u8a72\u51fd\u6578\u6703\u88ab\u547c\u53eb\u57f7\u884c\u4ee5\u5237\u65b0\u7e6a\u5716\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-03-01T22:30:26", "review_tags": []}, {"uuid": "744317ea-a3e0-4a6e-b6be-5251ba258c3a", "title": "Window.requestAnimationFrame()", "url": "/pl/docs/Web/API/Window/requestAnimationFrame", "tags": ["API", "DOM", "Metoda", "Api"], "summary": "Nale\u017cy wywo\u0142a\u0107 t\u0105 metod\u0105 za ka\u017cdym razem, gdy jeste\u015b gotowy do od\u015bwie\u017cenia swojej animacji na ekranie. Spowoduje to \u017c\u0105danie od przegl\u0105darki wykonania twojej funkcji przed nast\u0119pnym odmalowaniem.\u00a0Cz\u0119stotliwo\u015b\u0107 wykonywania funkcji wynosi zazwyczaj 60 razy na sekund\u0119, jednak\u017ce wed\u0142ug rekomendacji W3C w wi\u0119kszo\u015bci przegl\u0105darek odpowiada cz\u0119stotliwo\u015bci od\u015bwie\u017cania ekranu. Ta cz\u0119stotliwo\u015b\u0107 mo\u017ce zosta\u0107 zredukowana do ni\u017cszej warto\u015bci, gdy kod wykonywany jest w zak\u0142adce pozostaj\u0105cej w tle lub w ukrytej <iframe>
w celu poprawienia wydajno\u015bci lub przed\u0142u\u017cenia \u017cywotno\u015bci baterii.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2016-05-27T01:56:18", "review_tags": ["editorial"]}], "modified": "2016-06-17T01:44:08", "label": "Window.requestAnimationFrame()", "localization_tags": [], "locale": "fr", "id": 87005, "last_edit": "2016-06-17T01:43:59", "summary": "La m\u00e9thode window.requestAnimationFrame()
notifie le navigateur que vous souhaitez ex\u00e9cuter une animation et demande que celui-ci ex\u00e9cute une fonction sp\u00e9cifique de mise \u00e0 jour de l'animation, avant le prochain rafra\u00eechissement du navigateur. Cette m\u00e9thode prend comme argument un callback\u00a0qui sera appel\u00e9\u00a0avant le rafra\u00eechissement du navigateur.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntaxe"}, {"id": "Parameters", "title": "Param\u00e8tres"}, {"id": "Valeur_retourn\u00e9e", "title": "Valeur retourn\u00e9e"}, {"id": "Notes", "title": "Exemple"}, {"id": "Browser_compatibility", "title": "Compatibilit\u00e9s"}, {"id": "Specification", "title": "Notes pour Gecko"}, {"id": "Notes_pour_Chrome", "title": "Notes pour Chrome"}, {"id": "Specification", "title": "Specification"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "slug": "Web/API/Window/requestAnimationFrame", "review_tags": []}