Skip to content

Commit 2442d3e

Browse files
committed
Added Instant constructor to ScrollToOptions
1 parent ae5eacf commit 2442d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/CSSOMView.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Web.CSSOMView.MediaQueryList (MediaQueryList) as CSSOMView
55
import Web.CSSOMView.MediaQueryListEvent (MediaQueryListEvent) as CSSOMView
66
import Web.CSSOMView.Screen (Screen) as CSSOMView
77

8-
data ScrollBehavior = Auto | Smooth
8+
data ScrollBehavior = Auto | Instant | Smooth
99

1010
type ScrollToOptions =
1111
{ left :: Number

0 commit comments

Comments
 (0)