import SmoothScroll
defaultConfig : Config
defaultConfig =
{ offset = 12
, speed = 200
, easing = Ease.outQuint
}Scroll to the element with the given id, using the default configuration
import SmoothScroll
scrollTo "article"Scroll to the element with the given id, using a custom configuration
import SmoothScroll exposing (defaultConfig)
scrollToWithOptions { defaultConfig | offset = 60 } "article"
Configuration options for smooth scrolling. Has three options: