From f49f914de274524a66f9c49a46c15af699cdde86 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 19 Sep 2022 13:06:28 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Josiel Rocha <1158643+josielrocha@users.noreply.github.com> --- files/pt-br/web/api/animation/currenttime/index.md | 2 +- files/pt-br/web/api/animation/index.md | 10 ---------- files/pt-br/web/api/animation/playstate/index.md | 2 +- files/pt-br/web/api/audionode/index.md | 3 --- files/pt-br/web/api/broadcastchannel/index.md | 2 +- .../web/api/canvasrenderingcontext2d/arc/index.md | 2 +- 6 files changed, 4 insertions(+), 17 deletions(-) diff --git a/files/pt-br/web/api/animation/currenttime/index.md b/files/pt-br/web/api/animation/currenttime/index.md index b1c488c703e404..5d6fc2bfa015ed 100644 --- a/files/pt-br/web/api/animation/currenttime/index.md +++ b/files/pt-br/web/api/animation/currenttime/index.md @@ -5,7 +5,7 @@ translation_of: Web/API/Animation/currentTime --- {{APIRef("Web Animations")}}{{SeeCompatTable}} -A propriedade **`Animation`\*\***`.currentTime`\*\* da [Web Animations API](/pt-BR/docs/Web/API/Web_Animations_API) retorna e altera o tempo atual da animação em milésimos de segundos, seja estando em execução ou pausada. +A propriedade **`Animation.currentTime`** da [Web Animations API](/pt-BR/docs/Web/API/Web_Animations_API) retorna e altera o tempo atual da animação em milésimos de segundos, seja estando em execução ou pausada. Se a animação não tem uma {{domxref("AnimationTimeline", "timeline")}}, está inativa, ou ainda não foi colocada em execução, o valor de retorno do `currentTime `será` null`. diff --git a/files/pt-br/web/api/animation/index.md b/files/pt-br/web/api/animation/index.md index cbba15ec6e1ab4..b2a768df45f9df 100644 --- a/files/pt-br/web/api/animation/index.md +++ b/files/pt-br/web/api/animation/index.md @@ -28,14 +28,12 @@ A interface **`Animation`** da [Web Animations API](/pt-BR/docs/Web/API/Web_Anim - {{domxref("Animation.currentTime")}} - : O valor do tempo atual da animação, em milissegundos, esteja ela executando ou pausada. Se a animação não tem uma {{domxref("AnimationTimeline", "timeline")}}, está inativa ou ainda não foi executada, este valor é `null`. - - {{domxref("Animation.effect")}} - : Obtém e define o {{domxref("KeyframeEffect")}} associado a essa animação. - {{domxref("Animation.finished")}} {{readOnlyInline}} - : Retorna a `Primise` de finalização atual para essa animação. - - {{domxref("Animation.id")}} - : Obtém e define a `String` usada para identificar a animação. @@ -46,22 +44,18 @@ A interface **`Animation`** da [Web Animations API](/pt-BR/docs/Web/API/Web_Anim - {{domxref("Animation.playState")}} {{readOnlyInline}} - : Retorna um valor enumerado descrevendo o estado de execução de uma animação. - - {{domxref("Animation.playbackRate")}} - : Obtém ou define a taxa de execução da animação. - - {{domxref("Animation.ready")}} {{readOnlyInline}} - : Retorna a promessa atual para quando essa animação estiver pronta. - - {{domxref("Animation.startTime")}} - : Obtém ou define o tempo agendado quando a execução de uma animação deve começar. - - {{domxref("Animation.timeline")}} - : Obtém ou define a {{domxref("AnimationTimeline", "timeline")}} associada a essa animação. @@ -71,22 +65,18 @@ A interface **`Animation`** da [Web Animations API](/pt-BR/docs/Web/API/Web_Anim - {{domxref("Animation.cancel()")}} - : Limpa todos os {{domxref("KeyframeEffect", "keyframeEffects")}} causados por essa animação e aborta sua execução. - - {{domxref("Animation.finish()")}} - : Vai até um dos extremos dessa animação, dependendo se ela está executando ou retornando. - - {{domxref("Animation.pause()")}} - : Suspende a execução de uma animação. - - {{domxref("Animation.play()")}} - : Inicia ou continua a execução de uma animação ou a recomeça se ela tiver terminado anteriormente. - - {{domxref("Animation.reverse()")}} - : Move a animação ao contrário, parando no início da animação. diff --git a/files/pt-br/web/api/animation/playstate/index.md b/files/pt-br/web/api/animation/playstate/index.md index 5d3ba9a010356e..0d062a50a93477 100644 --- a/files/pt-br/web/api/animation/playstate/index.md +++ b/files/pt-br/web/api/animation/playstate/index.md @@ -5,7 +5,7 @@ translation_of: Web/API/Animation/playState --- {{APIRef("Web Animations")}}{{SeeCompatTable}} -A propriedade **`Animation`\*\***`.playState`\*\* do [Web Animations API](/pt-BR/docs/Web/API/Web_Animations_API) retorna e altera um valor enumerado que descreve o estado de reprodução da animação. +A propriedade **`Animation.playState`** do [Web Animations API](/pt-BR/docs/Web/API/Web_Animations_API) retorna e altera um valor enumerado que descreve o estado de reprodução da animação. > **Nota:** Essa propriedade é apenas de leitura para Animações CSS e Transições. diff --git a/files/pt-br/web/api/audionode/index.md b/files/pt-br/web/api/audionode/index.md index 0ec94860435f20..cf37a30249b370 100644 --- a/files/pt-br/web/api/audionode/index.md +++ b/files/pt-br/web/api/audionode/index.md @@ -20,17 +20,14 @@ Different nodes can be linked together to build a _processing graph_. Such a gra - {{domxref("AudioNode.context")}} {{readonlyInline}} - : Returns the associated {{domxref("AudioContext")}}, that is the object representing the processing graph the node is participating in. - - {{domxref("AudioNode.numberOfInputs")}} {{readonlyInline}} - : Returns the number of inputs feeding the node. Source nodes are defined as nodes having a `numberOfInputs` property with a value of `0`. - - {{domxref("AudioNode.numberOfOutputs")}} {{readonlyInline}} - : Returns the number of outputs coming out of the node. Destination nodes — like {{ domxref("AudioDestinationNode") }} — have a value of `0` for this attribute. - - {{domxref("AudioNode.channelCount")}} - : Represents an integer used to determine how many channels are used when [up-mixing and down-mixing](/pt-BR/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API#Up-mixing_and_down-mixing) connections to any inputs to the node. Its usage and precise definition depend on the value of {{domxref("AudioNode.channelCountMode")}}. diff --git a/files/pt-br/web/api/broadcastchannel/index.md b/files/pt-br/web/api/broadcastchannel/index.md index cd9555f25169b0..93263c232f3b7a 100644 --- a/files/pt-br/web/api/broadcastchannel/index.md +++ b/files/pt-br/web/api/broadcastchannel/index.md @@ -12,7 +12,7 @@ translation_of: Web/API/BroadcastChannel --- {{APIRef("Broadcast Channel API")}} -A interface **`BroadcastChannel`\*\*** **(canal de transmissão)** \*\*representa um canal com um nome em que qualquer {{glossary("browsing context")}} (contexto de navegação) de uma determinada {{glossary("origin")}} (origem) pode assinar. Permite a comunicação entre diferentes documentos (em diferentes janelas, abas, frames ou iframes) da mesma _origin_. As mensagens são transmitidas através de um evento {{event("message")}} acionado em todos objetos do tipo `BroadcastChannel` que estão ouvindo o canal. +A interface **`BroadcastChannel`** representa um canal com um nome em que qualquer {{glossary("browsing context")}} (contexto de navegação) de uma determinada {{glossary("origin")}} (origem) pode assinar. Permite a comunicação entre diferentes documentos (em diferentes janelas, abas, frames ou iframes) da mesma _origin_. As mensagens são transmitidas através de um evento {{event("message")}} acionado em todos objetos do tipo `BroadcastChannel` que estão ouvindo o canal. {{AvailableInWorkers}} diff --git a/files/pt-br/web/api/canvasrenderingcontext2d/arc/index.md b/files/pt-br/web/api/canvasrenderingcontext2d/arc/index.md index 87eb133bd3d5dc..128515b0f18f45 100644 --- a/files/pt-br/web/api/canvasrenderingcontext2d/arc/index.md +++ b/files/pt-br/web/api/canvasrenderingcontext2d/arc/index.md @@ -13,7 +13,7 @@ translation_of: Web/API/CanvasRenderingContext2D/arc --- {{APIRef}} -O método **`CanvasRenderingContext2D`\*\***`.arc()`\*\* da API Canvas 2D adiciona um arco circular para o atual sub-caminhoa (_sub-path_). +O método **`CanvasRenderingContext2D.arc()`** da API Canvas 2D adiciona um arco circular para o atual sub-caminhoa (_sub-path_). ## Sintaxe