scroll

The scroll event is fired when the document view or an element has been scrolled.

General info

Specification
DOM L3
Interface
UIEvent
Bubbles
Not on elements, but bubbles to the default view when fired on the document
Cancelable
No
Target
defaultView, Document, Element
Default Action
None

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only boolean Does the event normally bubble?
cancelable Read only boolean Is it possible to cancel the event?
view Read only WindowProxy document.defaultView (the window of the document).
detail Read only long (float) 0.

Document Tags and Contributors

Contributors to this page: Sheppy, ethertank, louisremi
Last updated by: Sheppy,