Function: xwidget-webkit-scroll-up
xwidget-webkit-scroll-up is an interactive and byte-compiled function
defined in xwidget.el.gz.
Signature
(xwidget-webkit-scroll-up &optional ARG)
Documentation
Scroll webkit up by ARG pixels; or full window height if no ARG.
Stop if bottom of page is reached. Interactively, ARG is the prefix numeric argument. Negative ARG scrolls down.
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-up (&optional arg)
"Scroll webkit up by ARG pixels; or full window height if no ARG.
Stop if bottom of page is reached.
Interactively, ARG is the prefix numeric argument.
Negative ARG scrolls down."
(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))))))