-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Converted web/api/animationevent/elapsedtime to MD #7230
chore: Converted web/api/animationevent/elapsedtime to MD #7230
Conversation
Preview URLsFlawsURL:
External URLsURL: No new external URLs (this comment was updated 2022-07-31 02:18:29.877084) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Natty!
Obrigado pela contribuição.
Fiz algumas sugestões abaixo, poderia, por favor, dar uma olhada?
😉
--- | ||
title: AnimationEvent.elapsedTime | ||
slug: Web/API/AnimationEvent/elapsedTime | ||
tags: | ||
- AnimationEvent | ||
- Animações Web | ||
- Apps | ||
- CSSOM | ||
- Experimental | ||
- Propriedade | ||
- Referencia | ||
translation_of: Web/API/AnimationEvent/elapsedTime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adicionando atributos existentes na versão original
--- | |
title: AnimationEvent.elapsedTime | |
slug: Web/API/AnimationEvent/elapsedTime | |
tags: | |
- AnimationEvent | |
- Animações Web | |
- Apps | |
- CSSOM | |
- Experimental | |
- Propriedade | |
- Referencia | |
translation_of: Web/API/AnimationEvent/elapsedTime | |
--- | |
title: AnimationEvent.elapsedTime | |
slug: Web/API/AnimationEvent/elapsedTime | |
page-type: web-api-instance-property | |
tags: | |
- AnimationEvent | |
- Animações Web | |
- Api | |
- CSSOM | |
- Propriedade | |
- Referência | |
browser-compat: api.AnimationEvent.elapsedTime | |
translation_of: Web/API/AnimationEvent/elapsedTime |
|
||
{{SeeCompatTable}}{{ apiref("Web Animations API") }} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{SeeCompatTable}}{{ apiref("Web Animations API") }} | |
{{APIRef("Web Animations API")}} | |
## Especificações | ||
|
||
| Specification | Status | Comment | | ||
| ---------------------------------------------------------------------------------------------- | ----------------------------- | ------------------- | | ||
| {{ SpecName('CSS3 Animations', '#AnimationEvent-elapsedTime', 'AnimationEvent.elapsedTime') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Utilizando a macro para gerar as especificações
## Especificações | |
| Specification | Status | Comment | | |
| ---------------------------------------------------------------------------------------------- | ----------------------------- | ------------------- | | |
| {{ SpecName('CSS3 Animations', '#AnimationEvent-elapsedTime', 'AnimationEvent.elapsedTime') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. | | |
## Especificações | |
{{Specifications}} |
|
||
O **`AnimationEvent.elapsedTime`** é uma propriedade só de leitura com um ponto flutuante dando a quantidade de tempo que animação esteve rodando, em segundos, quando o evento termina, excluirá o tempo em que ela esteve em pausa. Para um evento `"animationstart" `, `elapsedTime` é `0.0` a não ser que tenha um valor negativo para {{cssxref("animation-delay")}}, nesse caso o evento irá terminar com `elapsedTime` contendo `(-1 * `_delay_`)`. | ||
|
||
## Síntaxe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Síntaxe | |
## Sintaxe |
- [Usando animações CSS.](https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations) | ||
- Animation-related CSS properties and at-rules: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}. | ||
- The {{domxref("AnimationEvent")}} interface it belongs to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Traduzindo algumas partes do trecho abaixo.
OBS: A última linha não foi bem traduzida e mais "adaptada".
- [Usando animações CSS.](https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations) | |
- Animation-related CSS properties and at-rules: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}. | |
- The {{domxref("AnimationEvent")}} interface it belongs to. | |
- [Usando animações CSS](/pt-BR/docs/CSS/Using_CSS_animations) | |
- Propriedades e regras de CSS relacionadas à animação: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}} | |
- Esse atributo pertence à interface {{domxref("AnimationEvent")}}. |
subsumed by work on #7950 |
No description provided.