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 pt-br/web/api/animationevent/animationevent to MD #7236

Conversation

nathipg
Copy link
Member

@nathipg nathipg commented Jul 30, 2022

No description provided.

@nathipg nathipg self-assigned this Jul 30, 2022
@nathipg nathipg requested a review from a team as a code owner July 30, 2022 13:09
@nathipg nathipg requested review from josielrocha and removed request for a team July 30, 2022 13:09
@github-actions github-actions bot added the l10n-pt-br Issues related to Brazilian Portuguese label Jul 30, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jul 30, 2022

Preview URLs

Flaws

URL: /pt-BR/docs/Web/API/AnimationEvent/AnimationEvent
Title: AnimationEvent()
on GitHub
Flaw count: 20

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /pt-BR/docs/Web/CSS/animation-name does not exist but fell back to /en-US/docs/Web/CSS/animation-name
    • wrong xref macro used (consider changing which macro you use)
    • This macro has been deprecated, and should be removed.
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
    • Can't resolve https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/CSS/animation
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay
    • and 8 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

External URLs

URL: /pt-BR/docs/Web/API/AnimationEvent/AnimationEvent
Title: AnimationEvent()
on GitHub

No new external URLs

(this comment was updated 2022-08-04 01:09:15.071500)

@josielrocha josielrocha linked an issue Jul 31, 2022 that may be closed by this pull request
Copy link
Collaborator

@josielrocha josielrocha left a comment

Choose a reason for hiding this comment

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

Olá @nathipg!

Muitíssimo obrigado pela sua contribuição.

Durante a análise do PR identifiquei alguns typos e, além disso, o conteúdo já estava um pouco desatualizado em relação ao conteúdo original.

Fiz algumas sugestões que podem ser vistas mais abaixo.

🚀

Comment on lines +1 to +11
---
title: AnimationEvent()
slug: Web/API/AnimationEvent/AnimationEvent
tags:
- AnimationEvent
- Apps
- CSSOM
- Experimental
- Referencia
translation_of: Web/API/AnimationEvent/AnimationEvent
---
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
---
title: AnimationEvent()
slug: Web/API/AnimationEvent/AnimationEvent
tags:
- AnimationEvent
- Apps
- CSSOM
- Experimental
- Referencia
translation_of: Web/API/AnimationEvent/AnimationEvent
---
---
title: AnimationEvent()
slug: Web/API/AnimationEvent/AnimationEvent
page-type: web-api-constructor
tags:
- API
- AnimationEvent
- CSSOM
- Constructor
- Reference
- Web Animations
translation_of: Web/API/AnimationEvent/AnimationEvent
browser-compat: api.AnimationEvent.AnimationEvent
---

Comment on lines +13 to +15
{{APIRef("Web Animations API")}}{{SeeCompatTable}}

`O construtor AnimationEvent()` retorna o recente criado {{domxref("AnimationEvent")}}, representando um evento em relação a animação.
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
{{APIRef("Web Animations API")}}{{SeeCompatTable}}
`O construtor AnimationEvent()` retorna o recente criado {{domxref("AnimationEvent")}}, representando um evento em relação a animação.
{{APIRef("Web Animations API")}}
O construtor **`AnimationEvent()`** retorna o objeto  {{domxref("AnimationEvent")}} recém criado, representando um evento em relação a animação.


`O construtor AnimationEvent()` retorna o recente criado {{domxref("AnimationEvent")}}, representando um evento em relação a animação.

## 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

Comment on lines +19 to +21
animationEvent = new AnimationEvent(type, {animationName: aPropertyName,
elapsedTime : aFloat,
pseudoElement: aPseudoElementName});
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
animationEvent = new AnimationEvent(type, {animationName: aPropertyName,
elapsedTime : aFloat,
pseudoElement: aPseudoElementName});
```js
new AnimationEvent(type)
new AnimationEvent(type, options)

Comment on lines +25 to +28
*O construtor `AnimationEvent()`* *também herda argumentos do {{domxref("Event.Event", "Event()")}}.*

- `type`
- : Um {{domxref("DOMString")}} representando o nome do tipo de `AnimationEvent`. É caso sensitivo e pode ser: `'animationstart'`, `'animationend'`, ou `'animationiteration'`.
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
*O construtor `AnimationEvent()`* *também herda argumentos do {{domxref("Event.Event", "Event()")}}.*
- `type`
- : Um {{domxref("DOMString")}} representando o nome do tipo de `AnimationEvent`. É caso sensitivo e pode ser: `'animationstart'`, `'animationend'`, ou `'animationiteration'`.
- `type`
- : Uma string representando o nome do tipo de `AnimationEvent`. Diferencia maiúsculas e minúsculas e os browsers a definem como `'animationstart'`, `'animationend'`, ou `'animationiteration'`.

Comment on lines +29 to +34
- `animationName` {{optional_inline}}
- : Um{{domxref("DOMString")}} contendo o valor do {{cssxref("animation-name")}} propriedade CSS associada com a transição. É por padrão `""`.
- `elapsedTime` {{optional_inline}}
- : Um ponto flutuante dando a quantidade de tempo que a animação esteve rodando, em segundos, quando o evento termina, excluindo qualquer tempo que ela passou pausada. Para um evento `"animationstart"`, `elapsedTime` é `0.0` a não ser que haja um valor negativo para [`animation-delay`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay "The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element."), nesse caso o evento terminará com `elapsedTime contendo`  `(-1 * `_delay_`)`. É por padrão `0.0`.
- `pseudoElement` {{optional_inline}}
- : É um `{{domxref("DOMString")}}`, começando com`"::"`, contendo o nome do [pseudo-element](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements '/en-US/docs/Web/CSS/Pseudo-elements') que a animação roda. Se a animação não roda em um pseudo-elementomas em um elemento, então temos um _string_ vazio `"" .`É por padrão `""`.
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
- `animationName` {{optional_inline}}
- : Um{{domxref("DOMString")}} contendo o valor do {{cssxref("animation-name")}} propriedade CSS associada com a transição. É por padrão `""`.
- `elapsedTime` {{optional_inline}}
- : Um ponto flutuante dando a quantidade de tempo que a animação esteve rodando, em segundos, quando o evento termina, excluindo qualquer tempo que ela passou pausada. Para um evento `"animationstart"`, `elapsedTime` é `0.0` a não ser que haja um valor negativo para [`animation-delay`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay "The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element."), nesse caso o evento terminará com `elapsedTime contendo`  `(-1 * `_delay_`)`. É por padrão `0.0`.
- `pseudoElement` {{optional_inline}}
- : É um `{{domxref("DOMString")}}`, começando com`"::"`, contendo o nome do [pseudo-element](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements '/en-US/docs/Web/CSS/Pseudo-elements') que a animação roda. Se a animação não roda em um pseudo-elementomas em um elemento, então temos um _string_ vazio `"" .`É por padrão `""`.
- : Um {{domxref("DOMString")}} representando o nome do tipo de `AnimationEvent`. Diferencia maiúsculas e minúsculas e pode ser: `'animationstart'`, `'animationend'`, ou `'animationiteration'`.
- `options` {{opcional_inline}}
- : Um objeto que, _além das propriedades definidas em {{domxref("Event/Event", "Event()")}}_, possui as seguintes propriedades:
- `animationName` {{optional_inline}}
- : Uma string contendo o valor da propriedade CSS {{cssxref("animation-name")}} associada à transição. O padrão é `""`.
- `elapsedTime` {{optional_inline}}
- : Um `float` que fornece a quantidade de tempo que a animação está em execução, em segundos, quando este evento foi acionado, excluindo qualquer momento em que a animação foi pausada.
Para um evento `animationstart`, `elapsedTime` é `0.0`, a menos que haja um valor negativo para {{cssxref("animation-delay")}},
nesse caso o evento será disparado com `elapsedTime` contendo `(-1 * delay)`. O padrão é `0.0`.
- `pseudoElement` {{optional_inline}}
- : Uma string, começando com `"::"`, contendo o nome do [pseudo-element](/pt-BR/docs/Web/CSS/Pseudo-elements) em que a animação é executada. Se a animação não for executada em um pseudoelemento, mas no próprio elemento, especifique uma string vazia: `""`. O padrão é `""`.

Comment on lines +36 to +40
## Especificações

| Especificações | Estado | Comentário |
| ---------------------------------------------------------------------------------- | ----------------------------- | ------------------- |
| {{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent()') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. |
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
## Especificações
| Especificações | Estado | Comentário |
| ---------------------------------------------------------------------------------- | ----------------------------- | ------------------- |
| {{ SpecName('CSS3 Animations', '#AnimationEvent-interface', 'AnimationEvent()') }} | {{ Spec2('CSS3 Animations')}} | Initial definition. |
## Especificações
{{Specifications}}

Comment on lines +46 to +49
## Veja também 

- [Usando animações CSS](https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations).
- Tópicos relacionados a animação CSS, propriedades e regras: [`animation`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation 'The animation CSS property is a shorthand property for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count and animation-direction.'), [`animation-delay`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay "The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element."), [`animation-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction 'The animation-direction CSS property indicates whether the animation should play in reverse on alternate cycles.'), [`animation-duration`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-duration 'The animation-duration CSS property specifies the length of time that an animation should take to complete one cycle.'), [`animation-fill-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode 'The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing.'), [`animation-iteration-count`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count 'The animation-iteration-count CSS property defines the number of times an animation cycle should be played before stopping.'), [`animation-name`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-name 'The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.'), [`animation-play-state`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-play-state "The animation-play-state CSS property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation."), [`animation-timing-function`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function 'The CSS animation-timing-function property specifies how a CSS animation should progress over the duration of each cycle. The possible values are one or several <timing-function>.'), [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes 'The @keyframes CSS at-rule lets authors control the intermediate steps in a CSS animation sequence by establishing keyframes (or waypoints) along the animation sequence that must be reached by certain points during the animation. This gives you more specific control over the intermediate steps of the animation sequence than you get when letting the browser handle everything automatically.')
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
## Veja também 
- [Usando animações CSS](https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations).
- Tópicos relacionados a animação CSS, propriedades e regras: [`animation`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation 'The animation CSS property is a shorthand property for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count and animation-direction.'), [`animation-delay`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay "The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element."), [`animation-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction 'The animation-direction CSS property indicates whether the animation should play in reverse on alternate cycles.'), [`animation-duration`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-duration 'The animation-duration CSS property specifies the length of time that an animation should take to complete one cycle.'), [`animation-fill-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode 'The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing.'), [`animation-iteration-count`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count 'The animation-iteration-count CSS property defines the number of times an animation cycle should be played before stopping.'), [`animation-name`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-name 'The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.'), [`animation-play-state`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-play-state "The animation-play-state CSS property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation."), [`animation-timing-function`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function 'The CSS animation-timing-function property specifies how a CSS animation should progress over the duration of each cycle. The possible values are one or several <timing-function>.'), [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes 'The @keyframes CSS at-rule lets authors control the intermediate steps in a CSS animation sequence by establishing keyframes (or waypoints) along the animation sequence that must be reached by certain points during the animation. This gives you more specific control over the intermediate steps of the animation sequence than you get when letting the browser handle everything automatically.')
## Veja também
- [Usando animações CSS](/pt-BR/docs/Web/CSS/CSS_Animations/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")}}


- [Usando animações CSS](https://developer.mozilla.org/en-US/docs/CSS/Using_CSS_animations).
- Tópicos relacionados a animação CSS, propriedades e regras: [`animation`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation 'The animation CSS property is a shorthand property for animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count and animation-direction.'), [`animation-delay`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-delay "The animation-delay CSS property specifies when the animation should start. This lets the animation sequence begin some time after it's applied to an element."), [`animation-direction`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction 'The animation-direction CSS property indicates whether the animation should play in reverse on alternate cycles.'), [`animation-duration`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-duration 'The animation-duration CSS property specifies the length of time that an animation should take to complete one cycle.'), [`animation-fill-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode 'The animation-fill-mode CSS property specifies how a CSS animation should apply styles to its target before and after it is executing.'), [`animation-iteration-count`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-iteration-count 'The animation-iteration-count CSS property defines the number of times an animation cycle should be played before stopping.'), [`animation-name`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-name 'The animation-name CSS property specifies a list of animations that should be applied to the selected element. Each name indicates a @keyframes at-rule that defines the property values for the animation sequence.'), [`animation-play-state`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-play-state "The animation-play-state CSS property determines whether an animation is running or paused. You can query this property's value to determine whether or not the animation is currently running; in addition, you can set its value to pause and resume playback of an animation."), [`animation-timing-function`](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function 'The CSS animation-timing-function property specifies how a CSS animation should progress over the duration of each cycle. The possible values are one or several <timing-function>.'), [`@keyframes`](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes 'The @keyframes CSS at-rule lets authors control the intermediate steps in a CSS animation sequence by establishing keyframes (or waypoints) along the animation sequence that must be reached by certain points during the animation. This gives you more specific control over the intermediate steps of the animation sequence than you get when letting the browser handle everything automatically.')
- The {{domxref("AnimationEvent")}} interface it belongs to.
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
- The {{domxref("AnimationEvent")}} interface it belongs to.
- A interface {{domxref("AnimationEvent")}} a que pertence.

@queengooborg queengooborg added the markdown-conversion 100% markdown project label Aug 13, 2022
@SphinxKnight
Copy link
Member

subsumed by work on #7950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-pt-br Issues related to Brazilian Portuguese markdown-conversion 100% markdown project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert pt-br/web/api/animationevent/animationevent to MD
4 participants