Skip to content

Commit c11aedf

Browse files
committed
Also scaladoc comment for the scala 2 enum
1 parent 01d7e06 commit c11aedf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dom/src/main/scala-2/org/scalajs/dom/ScrollRestoration.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ sealed trait ScrollRestoration extends js.Any
1010
* which contains the spec for ScrollRestoration
1111
*/
1212
object ScrollRestoration {
13+
/** The location on the page to which the user has scrolled will be restored. */
1314
val auto: ScrollRestoration = "auto".asInstanceOf[ScrollRestoration]
15+
/** The location on the page is not restored. The user will have to scroll to the location manually. */
1416
val manual: ScrollRestoration = "manual".asInstanceOf[ScrollRestoration]
15-
}
17+
}

dom/src/main/scala-3/org/scalajs/dom/ScrollRestoration.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ object ScrollRestoration {
1313
val auto: ScrollRestoration = "auto"
1414
/** The location on the page is not restored. The user will have to scroll to the location manually. */
1515
val manual: ScrollRestoration = "manual"
16-
}
16+
}

0 commit comments

Comments
 (0)