Update AOS defaults

This commit is contained in:
Eric Jinks 2018-02-18 12:51:30 +10:00 committed by GitHub
parent 2448891cb3
commit d63850822b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,9 +7,10 @@ export default ({ options }) => {
// See more: https://github.com/michalsnik/aos
const defaultOptions = {
offset: 300,
duration: 400,
duration: 300,
easing: 'ease-out-sine',
delay: 0
delay: 0,
once: true
}
AOS.init({ ...defaultOptions, ...options })