From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-pt/web/api/filereader/abort/index.html | 58 +++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 files/pt-pt/web/api/filereader/abort/index.html (limited to 'files/pt-pt/web/api/filereader/abort') diff --git a/files/pt-pt/web/api/filereader/abort/index.html b/files/pt-pt/web/api/filereader/abort/index.html new file mode 100644 index 0000000000..3ffeae8ce9 --- /dev/null +++ b/files/pt-pt/web/api/filereader/abort/index.html @@ -0,0 +1,58 @@ +--- +title: FileReader.abort() +slug: Web/API/FileReader/abort +tags: + - API + - Ficheiros + - File API + - FileReader + - Referencia + - abort + - metodo +translation_of: Web/API/FileReader/abort +--- +
{{APIRef("File API")}}
+ +

O método abort aborta a operação de leitura. Ao completar o abortamento, o {{domxref("FileReader.readyState","readyState")}} é DONE.

+ +

Sintaxe

+ +
instanceOfFileReader.abort();
+ +

Exceções

+ +
+
DOM_FILE_ABORT_ERR
+
Lançado quando abort é chamado enquanto não há uma operação de leitura em progresso (ou seja, quando o state não é LOADING).
+
+ +

Especificações

+ + + + + + + + + + + + + + + + +
EspecificaçãoEstadoComentário
{{SpecName("File API", "#abort", "abort()")}}{{Spec2("File API")}}Definição inicial
+ +

Compatibilidade

+ + + +

{{Compat("api.FileReader.abort")}}

+ +

Ver também

+ + -- cgit v1.2.3-54-g00ecf