Function: xwidget-webkit-scroll-down

xwidget-webkit-scroll-down is an interactive and byte-compiled function defined in xwidget.el.gz.

Signature

(xwidget-webkit-scroll-down &optional ARG)

Documentation

Scroll webkit down by ARG pixels; or full window height if no ARG.

Stop if top of page is reached. Interactively, ARG is the prefix numeric argument. Negative ARG scrolls up.

Probably introduced at or before Emacs version 25.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(defun xwidget-webkit-scroll-down (&optional arg)
  "Scroll webkit down by ARG pixels; or full window height if no ARG.
Stop if top of page is reached.
Interactively, ARG is the prefix numeric argument.
Negative ARG scrolls up."
  (interactive "P" xwidget-webkit-mode)
  (xwidget-webkit-execute-script
   (xwidget-webkit-current-session)
   (format "window.scrollBy(0, -%d);"
           (or arg (xwidget-window-inside-pixel-height (selected-window))))))