Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cecd5af

Browse files
lindholcarmanbilge
andauthoredAug 14, 2023
Make options an optional argument
Co-authored-by: Arman Bilge <[email protected]>
1 parent c7f1c14 commit cecd5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎dom/src/main/scala/org/scalajs/dom/IntersectionObserver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import scala.scalajs.js.|
1111
@JSGlobal
1212
class IntersectionObserver(
1313
callback: js.Function2[js.Array[IntersectionObserverEntry], IntersectionObserver, Unit],
14-
init: IntersectionObserverInit
14+
options: IntersectionObserverInit = js.native
1515
) extends js.Object {
1616

1717
/** The Element or Document whose bounds are used as the bounding box when testing for intersection. If no root value

0 commit comments

Comments
 (0)
Please sign in to comment.