From 1e94ef3226c32ae8868ffaa9c3b3aa96293cbaa9 Mon Sep 17 00:00:00 2001 From: MDN Date: Fri, 20 Aug 2021 00:45:20 +0000 Subject: [CRON] sync translated content --- files/ja/_redirects.txt | 1 + files/ja/_wikihistory.json | 14 +-- .../index.html | 11 ++ files/ja/web/api/index/index.html | 10 -- files/ko/_redirects.txt | 1 + files/ko/_wikihistory.json | 16 +-- files/ko/conflicting/web/api/index.html | 11 ++ files/ko/web/api/index/index.html | 10 -- files/pt-br/_redirects.txt | 1 + files/pt-br/_wikihistory.json | 14 +-- .../api/animationevent/animationevent/index.html | 135 +++++++++++++++++++++ .../animationevent/initanimationevent/index.html | 134 -------------------- files/zh-cn/_redirects.txt | 3 +- files/zh-cn/_wikihistory.json | 14 +-- files/zh-cn/conflicting/web/api/index.html | 7 ++ files/zh-cn/web/api/index/index.html | 7 -- files/zh-tw/_redirects.txt | 1 + files/zh-tw/_wikihistory.json | 2 +- .../api/animationevent/animationevent/index.html | 130 ++++++++++++++++++++ .../animationevent/initanimationevent/index.html | 129 -------------------- 20 files changed, 320 insertions(+), 331 deletions(-) create mode 100644 files/ja/conflicting/web/api_49b9a84475f11fffb8fc271a7df3c49a/index.html delete mode 100644 files/ja/web/api/index/index.html create mode 100644 files/ko/conflicting/web/api/index.html delete mode 100644 files/ko/web/api/index/index.html create mode 100644 files/pt-br/conflicting/web/api/animationevent/animationevent/index.html delete mode 100644 files/pt-br/web/api/animationevent/initanimationevent/index.html create mode 100644 files/zh-cn/conflicting/web/api/index.html delete mode 100644 files/zh-cn/web/api/index/index.html create mode 100644 files/zh-tw/web/api/animationevent/animationevent/index.html delete mode 100644 files/zh-tw/web/api/animationevent/initanimationevent/index.html (limited to 'files') diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index e5327ca389..9199fabd2d 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -3168,6 +3168,7 @@ /ja/docs/Web/API/IDBFactory.cmp /ja/docs/Web/API/IDBFactory/cmp /ja/docs/Web/API/IDBFactory.deleteDatabase /ja/docs/Web/API/IDBFactory/deleteDatabase /ja/docs/Web/API/IDBFactory.open /ja/docs/Web/API/IDBFactory/open +/ja/docs/Web/API/Index /ja/docs/conflicting/Web/API_49b9a84475f11fffb8fc271a7df3c49a /ja/docs/Web/API/IndexedDB_API/Basic_Concepts_Behind_IndexedDB /ja/docs/Web/API/IndexedDB_API/Basic_Terminology /ja/docs/Web/API/MediaRecorder_API /ja/docs/Web/API/MediaStream_Recording_API /ja/docs/Web/API/Navigator.getUserMedia /ja/docs/Web/API/Navigator/getUserMedia diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 60ddab41a9..39958cd1f6 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -17816,13 +17816,6 @@ "ethertank" ] }, - "Web/API/Index": { - "modified": "2019-01-16T21:57:23.880Z", - "contributors": [ - "mfuji09", - "Marsf" - ] - }, "Web/API/IndexedDB_API": { "modified": "2019-11-01T12:27:47.658Z", "contributors": [ @@ -48610,6 +48603,13 @@ "Wind1808" ] }, + "conflicting/Web/API_49b9a84475f11fffb8fc271a7df3c49a": { + "modified": "2019-01-16T21:57:23.880Z", + "contributors": [ + "mfuji09", + "Marsf" + ] + }, "conflicting/Web/API_dd04ca1265cb79b990b8120e5f5070d3": { "modified": "2019-03-23T23:32:13.721Z", "contributors": [ diff --git a/files/ja/conflicting/web/api_49b9a84475f11fffb8fc271a7df3c49a/index.html b/files/ja/conflicting/web/api_49b9a84475f11fffb8fc271a7df3c49a/index.html new file mode 100644 index 0000000000..cdd2b4c27d --- /dev/null +++ b/files/ja/conflicting/web/api_49b9a84475f11fffb8fc271a7df3c49a/index.html @@ -0,0 +1,11 @@ +--- +title: 索引 +slug: conflicting/Web/API_49b9a84475f11fffb8fc271a7df3c49a +tags: + - API + - Index + - Landing +translation_of: Web/API/Index +original_slug: Web/API/Index +--- +

{{Index("/ja/docs/Web/API")}}

diff --git a/files/ja/web/api/index/index.html b/files/ja/web/api/index/index.html deleted file mode 100644 index e37c8080c2..0000000000 --- a/files/ja/web/api/index/index.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: 索引 -slug: Web/API/Index -tags: - - API - - Index - - Landing -translation_of: Web/API/Index ---- -

{{Index("/ja/docs/Web/API")}}

diff --git a/files/ko/_redirects.txt b/files/ko/_redirects.txt index 472e365864..11da27c514 100644 --- a/files/ko/_redirects.txt +++ b/files/ko/_redirects.txt @@ -456,6 +456,7 @@ /ko/docs/Web/API/HTMLHyperlinkElementUtils/href /ko/docs/Web/API/HTMLAnchorElement/href /ko/docs/Web/API/HTML_드래그_앤_드롭_API /ko/docs/Web/API/HTML_Drag_and_Drop_API /ko/docs/Web/API/HTML_드래그_앤_드롭_API/Drag_operations /ko/docs/Web/API/HTML_Drag_and_Drop_API/Drag_operations +/ko/docs/Web/API/Index /ko/docs/conflicting/Web/API /ko/docs/Web/API/Navigator.battery /ko/docs/Web/API/Navigator/battery /ko/docs/Web/API/Navigator.battery/window.navigator.battery /ko/docs/Web/API/Navigator/battery /ko/docs/Web/API/Navigator.connection/window.navigator.connection /ko/docs/Web/API/Navigator/connection diff --git a/files/ko/_wikihistory.json b/files/ko/_wikihistory.json index 9547a8024f..c666f061e0 100644 --- a/files/ko/_wikihistory.json +++ b/files/ko/_wikihistory.json @@ -5525,12 +5525,6 @@ "bsidesoft" ] }, - "Web/API/Index": { - "modified": "2019-03-06T12:18:21.576Z", - "contributors": [ - "alattalatta" - ] - }, "Web/API/IndexedDB_API": { "modified": "2020-02-21T12:46:53.785Z", "contributors": [ @@ -17539,15 +17533,9 @@ ] }, "conflicting/Web/API": { - "modified": "2019-03-23T23:30:26.179Z", + "modified": "2019-03-06T12:18:21.576Z", "contributors": [ - "wbamberg", - "fscholz", - "oohii", - "hyeonseok", - "PillarLee", - "junho85", - "francisco.jordano" + "alattalatta" ] }, "conflicting/Web/API/Document_Object_Model": { diff --git a/files/ko/conflicting/web/api/index.html b/files/ko/conflicting/web/api/index.html new file mode 100644 index 0000000000..d74c755289 --- /dev/null +++ b/files/ko/conflicting/web/api/index.html @@ -0,0 +1,11 @@ +--- +title: Index +slug: conflicting/Web/API +tags: + - API + - Index + - Landing +translation_of: Web/API/Index +original_slug: Web/API/Index +--- +

{{Index("/ko/docs/Web/API")}}

diff --git a/files/ko/web/api/index/index.html b/files/ko/web/api/index/index.html deleted file mode 100644 index c06701815a..0000000000 --- a/files/ko/web/api/index/index.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Index -slug: Web/API/Index -tags: - - API - - Index - - Landing -translation_of: Web/API/Index ---- -

{{Index("/ko/docs/Web/API")}}

diff --git a/files/pt-br/_redirects.txt b/files/pt-br/_redirects.txt index 5a35fcaf0f..daca4b07f7 100644 --- a/files/pt-br/_redirects.txt +++ b/files/pt-br/_redirects.txt @@ -471,6 +471,7 @@ /pt-BR/docs/Web/API/API_Web_Audio /pt-BR/docs/Web/API/Web_Audio_API /pt-BR/docs/Web/API/API_Web_Audio/Sintetizador_simples /pt-BR/docs/Web/API/Web_Audio_API/Simple_synth /pt-BR/docs/Web/API/API_de_Desempenho /pt-BR/docs/Web/API/Performance_API +/pt-BR/docs/Web/API/AnimationEvent/initAnimationEvent /pt-BR/docs/conflicting/Web/API/AnimationEvent/AnimationEvent /pt-BR/docs/Web/API/ArrayBuffer /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer /pt-BR/docs/Web/API/AudioContext/currentTime /pt-BR/docs/Web/API/BaseAudioContext/currentTime /pt-BR/docs/Web/API/BatteryManager.charging /pt-BR/docs/Web/API/BatteryManager/charging diff --git a/files/pt-br/_wikihistory.json b/files/pt-br/_wikihistory.json index 83b7c2febe..42e4e9b280 100644 --- a/files/pt-br/_wikihistory.json +++ b/files/pt-br/_wikihistory.json @@ -3632,13 +3632,6 @@ "takahan" ] }, - "Web/API/AnimationEvent/initAnimationEvent": { - "modified": "2019-03-23T22:45:29.493Z", - "contributors": [ - "teoli", - "takahan" - ] - }, "Web/API/AnimationEvent/pseudoElement": { "modified": "2019-03-23T22:45:35.200Z", "contributors": [ @@ -16368,6 +16361,13 @@ "RafaelGiordanno" ] }, + "conflicting/Web/API/AnimationEvent/AnimationEvent": { + "modified": "2019-03-23T22:45:29.493Z", + "contributors": [ + "teoli", + "takahan" + ] + }, "conflicting/Web/API/Crypto/getRandomValues": { "modified": "2019-03-23T22:43:17.216Z", "contributors": [ diff --git a/files/pt-br/conflicting/web/api/animationevent/animationevent/index.html b/files/pt-br/conflicting/web/api/animationevent/animationevent/index.html new file mode 100644 index 0000000000..9227514b83 --- /dev/null +++ b/files/pt-br/conflicting/web/api/animationevent/animationevent/index.html @@ -0,0 +1,135 @@ +--- +title: AnimationEvent.initAnimationEvent() +slug: conflicting/Web/API/AnimationEvent/AnimationEvent +tags: + - AnimationEvent + - Apps + - CSSOM + - Método(2) + - Não-padrão + - Obsolento + - Web Animations +translation_of: Web/API/AnimationEvent/initAnimationEvent +original_slug: Web/API/AnimationEvent/initAnimationEvent +--- +

{{obsolete_header}}{{non-standard_header}}{{ apiref("Web Animations API") }}

+ +

Sumário

+ +

AnimationEvent.initAnimationEvent() é um método iniciado com o evento da animção criando um depreciativo {{domxref("Document.createEvent()", "Document.createEvent(\"AnimationEvent\")")}} método.

+ +

AnimationEvent criado desse modo não é confiável.

+ +
+

Note: Durante o processo de padronização, esse método foi removido das especificações. É que ele foi depreciado e esse processo foi removido da maioria das implementações . Não use este método; ao invés, use o construtor padrão, {{domxref("AnimationEvent.AnimationEvent", "AnimationEvent()")}}, para criar um sintético {{domxref("AnimationEvent")}}.

+
+ +

Syntax

+ +
animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);
+ +

Parâmetros

+ +
+
typeArg
+
Um {{domxref("DOMString")}} identificado com um tipo específico de evento animação que ocorreu. Os seguintes valores são aceitados: + + + + + + + + + + + + + + + + + + + + + +
ValorSignificado
animationstartA animação começou.
animationendA animação terminou.
animationiterationA iteração corrente se completou.
+
+
canBubbleArg
+
Uma {{domxref("Boolean")}} bandeira indicando se o evento pode ser bolha (true) ou não (false).
+
cancelableArg
+
Uma {{domxref("Boolean")}} bandeira indicando se o evento associado pode ser evitado (true) ou não (false).
+
animationNameArg
+
Um {{domxref("DOMString")}} contendo o valor do{{cssxref("animation-name")}} propriedade CSS associada com a transição.
+
elapsedTimeArg
+
Um ponto flutuante indicando a quantidade de tempo que a animação esteve rodando, em segundos, com o tempo do evento terminar, excluirá-se o tempo em que a animação esteve em pausa.Para um "animationstart" evento, elapsedTime é 0.0 a não ser que haja um valor negativo para animation-delay, nesse caso o evento irá terminar com elapsedTime contendo (-1 * delay).
+
+ +

Especificações

+ +

Esse método é não-padrão e não é parte de qualquer especificação, no entanto ele esteve presente nos primeiros rascunhos de {{SpecName("CSS3 Animations")}}.

+ +

Compatibilidade com navegadores

+ +

{{ CompatibilityTable }}

+ +
+ + + + + + + + + + + + + + + + + + + +
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{ CompatGeckoDesktop("6.0") }}
+ Removed in {{ CompatGeckoDesktop("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+ +

 

+ +

 

+
+ +
+ + + + + + + + + + + + + + + + + + + +
CaracterísticaAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{ CompatGeckoMobile("6.0") }}
+ Removed in {{ CompatGeckoMobile("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

See also

+ + diff --git a/files/pt-br/web/api/animationevent/initanimationevent/index.html b/files/pt-br/web/api/animationevent/initanimationevent/index.html deleted file mode 100644 index 03ccaaa987..0000000000 --- a/files/pt-br/web/api/animationevent/initanimationevent/index.html +++ /dev/null @@ -1,134 +0,0 @@ ---- -title: AnimationEvent.initAnimationEvent() -slug: Web/API/AnimationEvent/initAnimationEvent -tags: - - AnimationEvent - - Apps - - CSSOM - - Método(2) - - Não-padrão - - Obsolento - - Web Animations -translation_of: Web/API/AnimationEvent/initAnimationEvent ---- -

{{obsolete_header}}{{non-standard_header}}{{ apiref("Web Animations API") }}

- -

Sumário

- -

AnimationEvent.initAnimationEvent() é um método iniciado com o evento da animção criando um depreciativo {{domxref("Document.createEvent()", "Document.createEvent(\"AnimationEvent\")")}} método.

- -

AnimationEvent criado desse modo não é confiável.

- -
-

Note: Durante o processo de padronização, esse método foi removido das especificações. É que ele foi depreciado e esse processo foi removido da maioria das implementações . Não use este método; ao invés, use o construtor padrão, {{domxref("AnimationEvent.AnimationEvent", "AnimationEvent()")}}, para criar um sintético {{domxref("AnimationEvent")}}.

-
- -

Syntax

- -
animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);
- -

Parâmetros

- -
-
typeArg
-
Um {{domxref("DOMString")}} identificado com um tipo específico de evento animação que ocorreu. Os seguintes valores são aceitados: - - - - - - - - - - - - - - - - - - - - - -
ValorSignificado
animationstartA animação começou.
animationendA animação terminou.
animationiterationA iteração corrente se completou.
-
-
canBubbleArg
-
Uma {{domxref("Boolean")}} bandeira indicando se o evento pode ser bolha (true) ou não (false).
-
cancelableArg
-
Uma {{domxref("Boolean")}} bandeira indicando se o evento associado pode ser evitado (true) ou não (false).
-
animationNameArg
-
Um {{domxref("DOMString")}} contendo o valor do{{cssxref("animation-name")}} propriedade CSS associada com a transição.
-
elapsedTimeArg
-
Um ponto flutuante indicando a quantidade de tempo que a animação esteve rodando, em segundos, com o tempo do evento terminar, excluirá-se o tempo em que a animação esteve em pausa.Para um "animationstart" evento, elapsedTime é 0.0 a não ser que haja um valor negativo para animation-delay, nesse caso o evento irá terminar com elapsedTime contendo (-1 * delay).
-
- -

Especificações

- -

Esse método é não-padrão e não é parte de qualquer especificação, no entanto ele esteve presente nos primeiros rascunhos de {{SpecName("CSS3 Animations")}}.

- -

Compatibilidade com navegadores

- -

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{ CompatGeckoDesktop("6.0") }}
- Removed in {{ CompatGeckoDesktop("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
- -

 

- -

 

-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{ CompatGeckoMobile("6.0") }}
- Removed in {{ CompatGeckoMobile("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

See also

- - diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 83915af3b0..566a22782a 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -1377,6 +1377,7 @@ /zh-CN/docs/Web/API/IDBCursor.direction /zh-CN/docs/Web/API/IDBCursor/direction /zh-CN/docs/Web/API/IDBFactory.open /zh-CN/docs/Web/API/IDBFactory/open /zh-CN/docs/Web/API/IDBObjectStore.openCursor /zh-CN/docs/Web/API/IDBObjectStore/openCursor +/zh-CN/docs/Web/API/Index /zh-CN/docs/conflicting/Web/API /zh-CN/docs/Web/API/IndexedDB_API/IDBObjectStore /zh-CN/docs/Web/API/IDBObjectStore /zh-CN/docs/Web/API/Intersection_Observer_API/点观察者API的时序元素可见性 /zh-CN/docs/Web/API/Intersection_Observer_API/Timing_element_visibility /zh-CN/docs/Web/API/Location.replace /zh-CN/docs/Web/API/Location/replace @@ -1641,7 +1642,7 @@ /zh-CN/docs/Web/API/window.requestAnimationFrame /zh-CN/docs/Web/API/Window/requestAnimationFrame /zh-CN/docs/Web/API/剪贴板_API /zh-CN/docs/Web/API/Clipboard_API /zh-CN/docs/Web/API/开发式平台 /zh-CN/docs/Web/API/Push_API -/zh-CN/docs/Web/API/指数 /zh-CN/docs/Web/API/Index +/zh-CN/docs/Web/API/指数 /zh-CN/docs/conflicting/Web/API /zh-CN/docs/Web/API/支付_请求_接口 /zh-CN/docs/Web/API/Payment_Request_API /zh-CN/docs/Web/API/支付_请求_接口/Concepts /zh-CN/docs/Web/API/Payment_Request_API/Concepts /zh-CN/docs/Web/API/消息事件 /zh-CN/docs/Web/API/MessageEvent diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index 091b99d93b..c7337931f9 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -16296,13 +16296,6 @@ "ice-i-snow" ] }, - "Web/API/Index": { - "modified": "2020-09-07T03:42:22.980Z", - "contributors": [ - "SphinxKnight", - "hl7514576" - ] - }, "Web/API/IndexedDB_API": { "modified": "2020-08-17T03:58:13.141Z", "contributors": [ @@ -47010,11 +47003,10 @@ ] }, "conflicting/Web/API": { - "modified": "2019-03-23T23:09:29.332Z", + "modified": "2020-09-07T03:42:22.980Z", "contributors": [ - "mySoul", - "teoli", - "AlexChao" + "SphinxKnight", + "hl7514576" ] }, "conflicting/Web/API/Beacon_API": { diff --git a/files/zh-cn/conflicting/web/api/index.html b/files/zh-cn/conflicting/web/api/index.html new file mode 100644 index 0000000000..70b70e7ec2 --- /dev/null +++ b/files/zh-cn/conflicting/web/api/index.html @@ -0,0 +1,7 @@ +--- +title: 指数 +slug: conflicting/Web/API +translation_of: Web/API/Index +original_slug: Web/API/Index +--- +

{{Index("/zh-CN/docs/Web/API")}}

diff --git a/files/zh-cn/web/api/index/index.html b/files/zh-cn/web/api/index/index.html deleted file mode 100644 index e910b907d2..0000000000 --- a/files/zh-cn/web/api/index/index.html +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 指数 -slug: Web/API/Index -translation_of: Web/API/Index -original_slug: Web/API/指数 ---- -

{{Index("/zh-CN/docs/Web/API")}}

diff --git a/files/zh-tw/_redirects.txt b/files/zh-tw/_redirects.txt index b7266c16c2..a74261d6e4 100644 --- a/files/zh-tw/_redirects.txt +++ b/files/zh-tw/_redirects.txt @@ -512,6 +512,7 @@ /zh-TW/docs/Using_files_from_web_applications /zh-TW/docs/Web/API/File/Using_files_from_web_applications /zh-TW/docs/Using_geolocation /zh-TW/docs/Web/API/Geolocation_API /zh-TW/docs/Web/API/Ambient_Light_Events /zh-TW/docs/orphaned/Web/API/Ambient_Light_Events +/zh-TW/docs/Web/API/AnimationEvent/initAnimationEvent /zh-TW/docs/Web/API/AnimationEvent/AnimationEvent /zh-TW/docs/Web/API/Body /zh-TW/docs/orphaned/Web/API/Body /zh-TW/docs/Web/API/Body/json /zh-TW/docs/orphaned/Web/API/Body/json /zh-TW/docs/Web/API/Canvas_API/Drawing_graphics_with_canvas /zh-TW/docs/conflicting/Web/API/Canvas_API/Tutorial diff --git a/files/zh-tw/_wikihistory.json b/files/zh-tw/_wikihistory.json index d8927a29a7..74a41f5f01 100644 --- a/files/zh-tw/_wikihistory.json +++ b/files/zh-tw/_wikihistory.json @@ -2874,7 +2874,7 @@ "fscholz" ] }, - "Web/API/AnimationEvent/initAnimationEvent": { + "Web/API/AnimationEvent/AnimationEvent": { "modified": "2019-03-23T22:58:50.823Z", "contributors": [ "teoli", diff --git a/files/zh-tw/web/api/animationevent/animationevent/index.html b/files/zh-tw/web/api/animationevent/animationevent/index.html new file mode 100644 index 0000000000..eebaac85f0 --- /dev/null +++ b/files/zh-tw/web/api/animationevent/animationevent/index.html @@ -0,0 +1,130 @@ +--- +title: AnimationEvent.initAnimationEvent() +slug: Web/API/AnimationEvent/AnimationEvent +tags: + - API + - AnimationEvent + - CSSOM + - Method + - Obsolete + - Web Animations +translation_of: Web/API/AnimationEvent/initAnimationEvent +original_slug: Web/API/AnimationEvent/initAnimationEvent +--- +

{{obsolete_header}}{{non-standard_header}}{{ apiref("Web Animations API") }}

+ +

Summary

+ +

The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated {{domxref("Document.createEvent()", "Document.createEvent(\"AnimationEvent\")")}} method.

+ +

AnimationEvent created this way are untrusted.

+ +
+

Note: During the standardization process, this method was removed from the specification. It has been deprecated and is in the progress of being removed from most implementations. Do not use this method; instead, use the standard constructor, {{domxref("AnimationEvent.AnimationEvent", "AnimationEvent()")}}, to create a synthetic {{domxref("AnimationEvent")}}.

+
+ +

Syntax

+ +
animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);
+ +

Parameters

+ +
+
typeArg
+
A {{domxref("DOMString")}} identifying the specific type of animation event that occurred. The following values are allowed: + + + + + + + + + + + + + + + + + + + + + +
ValueMeaning
animationstartThe animation has started.
animationendThe animation completed.
animationiterationThe current iteration just completed.
+
+
canBubbleArg
+
A {{domxref("Boolean")}} flag indicating if the event can bubble (true) or not (false).
+
cancelableArg
+
A {{domxref("Boolean")}} flag indicating if the event associated action can be avoided (true) or not (false).
+
animationNameArg
+
A {{domxref("DOMString")}} containing the value of the {{cssxref("animation-name")}} CSS property associated with the transition.
+
elapsedTimeArg
+
A float indicating the amount of time the animation has been running, in seconds, as of the time the event was fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing  (-1 * delay).
+
+ +

Specifications

+ +

This method is non-standard and not part of any specification, though it was present in early drafts of {{SpecName("CSS3 Animations")}}.

+ +

Browser compatibility

+ +

{{ CompatibilityTable }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{ CompatGeckoDesktop("6.0") }}
+ Removed in {{ CompatGeckoDesktop("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{ CompatGeckoMobile("6.0") }}
+ Removed in {{ CompatGeckoMobile("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

See also

+ + diff --git a/files/zh-tw/web/api/animationevent/initanimationevent/index.html b/files/zh-tw/web/api/animationevent/initanimationevent/index.html deleted file mode 100644 index de5c7efe15..0000000000 --- a/files/zh-tw/web/api/animationevent/initanimationevent/index.html +++ /dev/null @@ -1,129 +0,0 @@ ---- -title: AnimationEvent.initAnimationEvent() -slug: Web/API/AnimationEvent/initAnimationEvent -tags: - - API - - AnimationEvent - - CSSOM - - Method - - Obsolete - - Web Animations -translation_of: Web/API/AnimationEvent/initAnimationEvent ---- -

{{obsolete_header}}{{non-standard_header}}{{ apiref("Web Animations API") }}

- -

Summary

- -

The AnimationEvent.initAnimationEvent() method Initializes an animation event created using the deprecated {{domxref("Document.createEvent()", "Document.createEvent(\"AnimationEvent\")")}} method.

- -

AnimationEvent created this way are untrusted.

- -
-

Note: During the standardization process, this method was removed from the specification. It has been deprecated and is in the progress of being removed from most implementations. Do not use this method; instead, use the standard constructor, {{domxref("AnimationEvent.AnimationEvent", "AnimationEvent()")}}, to create a synthetic {{domxref("AnimationEvent")}}.

-
- -

Syntax

- -
animationEvent.initAnimationEvent(typeArg, canBubbleArg, cancelableArg, animationNameArg, elapsedTimeArg);
- -

Parameters

- -
-
typeArg
-
A {{domxref("DOMString")}} identifying the specific type of animation event that occurred. The following values are allowed: - - - - - - - - - - - - - - - - - - - - - -
ValueMeaning
animationstartThe animation has started.
animationendThe animation completed.
animationiterationThe current iteration just completed.
-
-
canBubbleArg
-
A {{domxref("Boolean")}} flag indicating if the event can bubble (true) or not (false).
-
cancelableArg
-
A {{domxref("Boolean")}} flag indicating if the event associated action can be avoided (true) or not (false).
-
animationNameArg
-
A {{domxref("DOMString")}} containing the value of the {{cssxref("animation-name")}} CSS property associated with the transition.
-
elapsedTimeArg
-
A float indicating the amount of time the animation has been running, in seconds, as of the time the event was fired, excluding any time the animation was paused. For an "animationstart" event, elapsedTime is 0.0 unless there was a negative value for animation-delay, in which case the event will be fired with elapsedTime containing  (-1 * delay).
-
- -

Specifications

- -

This method is non-standard and not part of any specification, though it was present in early drafts of {{SpecName("CSS3 Animations")}}.

- -

Browser compatibility

- -

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{ CompatGeckoDesktop("6.0") }}
- Removed in {{ CompatGeckoDesktop("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{ CompatGeckoMobile("6.0") }}
- Removed in {{ CompatGeckoMobile("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

See also

- - -- cgit v1.2.3-54-g00ecf