Scope animations
This commit is contained in:
@@ -6,11 +6,11 @@ import { animDuration } from '../utils/store'
|
||||
/*
|
||||
** Transition In
|
||||
*/
|
||||
export const animateIn = callback => {
|
||||
export const animateIn = scope => {
|
||||
// On scroll animation
|
||||
const title = ScrollOut({
|
||||
once: true,
|
||||
targets: '.title-location--inline',
|
||||
targets: scope,
|
||||
onShown (el) {
|
||||
// Each letters
|
||||
anime({
|
||||
|
||||
Reference in New Issue
Block a user