Skip to content
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

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 0 additions & 103 deletions files/pt-br/web/api/animationevent/elapsedtime/index.html

This file was deleted.

39 changes: 39 additions & 0 deletions files/pt-br/web/api/animationevent/elapsedtime/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: AnimationEvent.elapsedTime
slug: Web/API/AnimationEvent/elapsedTime
tags:
- AnimationEvent
- Animações Web
- Apps
- CSSOM
- Experimental
- Propriedade
- Referencia
translation_of: Web/API/AnimationEvent/elapsedTime
Comment on lines +1 to +12
Copy link
Collaborator

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

Suggested change
---
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") }}

Comment on lines +14 to +16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{SeeCompatTable}}{{ apiref("Web Animations API") }}
{{APIRef("Web Animations API")}}

## Sumário

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Síntaxe
## Sintaxe


time = AnimationEvent.elapsedTime

## Especificações

| Specification | Status | Comment |
| ---------------------------------------------------------------------------------------------- | ----------------------------- | ------------------- |
| {{ SpecName('CSS3 Animations', '#AnimationEvent-elapsedTime', 'AnimationEvent.elapsedTime') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. |

Comment on lines +25 to +30
Copy link
Collaborator

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

Suggested change
## Especificações
| Specification | Status | Comment |
| ---------------------------------------------------------------------------------------------- | ----------------------------- | ------------------- |
| {{ SpecName('CSS3 Animations', '#AnimationEvent-elapsedTime', 'AnimationEvent.elapsedTime') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. |
## Especificações
{{Specifications}}

## Compatibilidade com navegadores

{{Compat}}

## Veja também

- [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.
Comment on lines +37 to +39
Copy link
Collaborator

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".

Suggested change
- [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")}}.