From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- .../pt-br/web/api/window/scrollbypages/index.html | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 files/pt-br/web/api/window/scrollbypages/index.html (limited to 'files/pt-br/web/api/window/scrollbypages') diff --git a/files/pt-br/web/api/window/scrollbypages/index.html b/files/pt-br/web/api/window/scrollbypages/index.html new file mode 100644 index 0000000000..1ad5c70c47 --- /dev/null +++ b/files/pt-br/web/api/window/scrollbypages/index.html @@ -0,0 +1,41 @@ +--- +title: Window.scrollByPages() +slug: Web/API/Window/scrollByPages +translation_of: Web/API/Window/scrollByPages +--- +

{{ ApiRef() }}{{Non-standard_header}}

+ +

Resumo

+ +

Rola o documento atual para a página especificada.

+ +

Sintaxe

+ +
window.scrollByPages(pages)
+
+ +

Parâmetros

+ + + +

Exemplo

+ +
// rola o documento para baixo até a página 1
+window.scrollByPages(1);
+
+// rola o documento para cima até a página 1
+window.scrollByPages(-1);
+
+ +

Notas

+ +

Veja também window.scrollBy, window.scrollByLines, window.scroll, window.scrollTo.

+ +

Specification

+ +

DOM Level 0. Not part of specification.

+ +

{{ languages( { "ja": "ja/DOM/window.scrollByPages", "pl": "pl/DOM/window.scrollByPages", "zh-cn": "zh-cn/DOM/window.scrollByPages" } ) }}

-- cgit v1.2.3-54-g00ecf