aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/api/globaleventhandlers/onkeyup/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/web/api/globaleventhandlers/onkeyup/index.html')
-rw-r--r--files/pt-br/web/api/globaleventhandlers/onkeyup/index.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/files/pt-br/web/api/globaleventhandlers/onkeyup/index.html b/files/pt-br/web/api/globaleventhandlers/onkeyup/index.html
new file mode 100644
index 0000000000..394aa886b2
--- /dev/null
+++ b/files/pt-br/web/api/globaleventhandlers/onkeyup/index.html
@@ -0,0 +1,61 @@
+---
+title: GlobalEventHandlers.onkeyup
+slug: Web/API/GlobalEventHandlers/onkeyup
+tags:
+ - API
+ - HTML DOM
+ - Propriedade
+ - Referencia
+translation_of: Web/API/GlobalEventHandlers/onkeyup
+---
+<div>{{ApiRef("HTML DOM")}}</div>
+
+<p>A propriedade<strong> onkeyup</strong> retorna o código de manipulador de eventos onKeyUp no elemento atual.</p>
+
+<h2 id="Sintaxe">Sintaxe</h2>
+
+<pre class="syntaxbox">element.onkeyup = <em>código do manipulador do evento</em>s
+</pre>
+
+<h2 id="Exemplo">Exemplo</h2>
+
+<pre class="brush: js"> &lt;input type="text" onKeyUp="teclaPressionada(event)"&gt;
+ &lt;script&gt;
+ function teclaPressionada(evt) {
+ console.log(evt.keyCode)
+ }
+ &lt;/script&gt;
+</pre>
+
+<h2 id="Notas">Notas</h2>
+
+<p>O evento keyup é iniciado quando o usuário libera a tecla é pressionada.</p>
+
+<h2 id="Especificações">Especificações</h2>
+
+<table class="spectable standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG','webappapis.html#handler-onkeyup','onkeyup')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilidade">Compatibilidade</h2>
+
+<article>
+<div class="hidden">
+<p>The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p>
+</div>
+
+<p>{{Compat("api.GlobalEventHandlers.onkeyup")}}</p>
+</article>
+
+<div id="compat-mobile"> </div>