diff options
Diffstat (limited to 'files/pt-br/web/api/htmlelement/input_event/index.html')
| -rw-r--r-- | files/pt-br/web/api/htmlelement/input_event/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/pt-br/web/api/htmlelement/input_event/index.html b/files/pt-br/web/api/htmlelement/input_event/index.html index dd69baf988..ed3453b49a 100644 --- a/files/pt-br/web/api/htmlelement/input_event/index.html +++ b/files/pt-br/web/api/htmlelement/input_event/index.html @@ -1,7 +1,8 @@ --- title: input -slug: Web/Events/input +slug: Web/API/HTMLElement/input_event translation_of: Web/API/HTMLElement/input_event +original_slug: Web/Events/input --- <p>O evento <code>input do </code>DOM é disparado sincronicamente quando o valor de um elemento {{HTMLElement("input")}}, {{HTMLElement("select")}}, ou {{HTMLElement("textarea")}} é alterado. (Para elementos input com <code>type=checkbox</code> ou <code>type=radio</code>, o evento <code>input</code> não é disparado quando o usuário clica no elemento, porque o valor do atributo não é alterado.) Além disso, o evento é disparado no <a href="/en-US/docs/Web/API/HTMLElement/contentEditable"><code>contenteditable</code></a> editors quando o seu conteúdo é alterado. Nesse caso, O alvo do evento é o elemento host da edição. Se houver dois ou mais elementos que tenha <code>contenteditable</code> como true, o "host de edição" é o elemento antepassado mais próximo cujo pai não é editável. Similarmente, ele também é disparado no element raiz do <a href="/en-US/docs/Web/API/Document/designMode"><code>designMode</code></a> editors.</p> |
