Scope animations
This commit is contained in:
@@ -6,10 +6,10 @@ import { animDuration } from '../utils/store'
|
||||
/*
|
||||
** Transition In
|
||||
*/
|
||||
export const animateIn = () => {
|
||||
export const animateIn = scope => {
|
||||
// Each location
|
||||
const locations = ScrollOut({
|
||||
targets: '#locations_list .location',
|
||||
targets: scope.querySelectorAll('.location'),
|
||||
onShown (el) {
|
||||
// Timeline
|
||||
const tl = anime.timeline({
|
||||
|
||||
Reference in New Issue
Block a user