Skip to content

Commit 43703ae

Browse files
committed
Formatted doc comments to adhere to 80px standard
1 parent 4d235ca commit 43703ae

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

src/main/scala/org/scalajs/dom/raw/lib.scala

+19-11
Original file line numberDiff line numberDiff line change
@@ -2699,23 +2699,29 @@ class Window
26992699
*/
27002700
trait EventListenerOptions extends js.Object {
27012701
/**
2702-
* A Boolean indicating that events of this type will be dispatched to the registered listener
2703-
* before being dispatched to any EventTarget beneath it in the DOM tree.
2702+
* A Boolean indicating that events of this type
2703+
* will be dispatched to the registered listener
2704+
* before being dispatched to any EventTarget
2705+
* beneath it in the DOM tree.
27042706
*
27052707
* MDN
27062708
*/
27072709
var capture: js.UndefOr[Boolean] = js.undefined
27082710

27092711
/**
2710-
* A Boolean indicating that the listener should be invoked at most once after being added.
2712+
* A Boolean indicating that the listener
2713+
* should be invoked at most once after being added.
27112714
* If true, the listener would be automatically removed when invoked.
27122715
*/
27132716
var once: js.UndefOr[Boolean] = js.undefined
27142717

27152718
/**
2716-
* A Boolean which, if true, indicates that the function specified by listener will never call preventDefault().
2719+
* A Boolean which, if true, indicates
2720+
* that the function specified by listener
2721+
* will never call preventDefault().
27172722
* If a passive listener does call preventDefault(),
2718-
* the user agent will do nothing other than generate a console warning.
2723+
* the user agent will do nothing other
2724+
* than generate a console warning.
27192725
* See Improving scrolling performance with passive listeners to learn more.
27202726
*
27212727
* MDN
@@ -2724,8 +2730,8 @@ trait EventListenerOptions extends js.Object {
27242730
}
27252731

27262732
/**
2727-
* EventTarget is a DOM interface implemented by objects that can receive DOM events
2728-
* and have listeners for them.
2733+
* EventTarget is a DOM interface implemented by objects
2734+
* that can receive DOM events and have listeners for them.
27292735
*
27302736
* Element, document, and window are the most common event targets, but other
27312737
* objects can be event targets too, for example XMLHttpRequest, AudioNode,
@@ -2763,10 +2769,12 @@ class EventTarget extends js.Object {
27632769
useCapture: Boolean = js.native): Unit = js.native
27642770

27652771
/**
2766-
* The EventTarget.addEventListener() method registers the specified listener on
2767-
* the EventTarget it's called on. The event target may be an Element in a document, the
2768-
* Document itself, a Window, or any other object that supports events (such as
2769-
* XMLHttpRequest).
2772+
* The EventTarget.addEventListener() method
2773+
* registers the specified listener
2774+
* on the EventTarget it's called on.
2775+
* The event target may be an Element in a document,
2776+
* the Document itself, a Window, or any other object that supports events
2777+
* (such as XMLHttpRequest).
27702778
*
27712779
* This implementation accepts a settings object of type EventListenerOptions.
27722780
*

0 commit comments

Comments
 (0)