Fix pages and components animations
- Fix delays - Add the init back for TitleSite as it needs a delay for the page instance vs. loader
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
import { animateIn } from 'animations/TitleSite'
|
||||
|
||||
// Props and variables
|
||||
export let init = false
|
||||
let mounted = false
|
||||
let scope
|
||||
|
||||
@@ -14,7 +15,7 @@
|
||||
** Run code when mounted
|
||||
*/
|
||||
onMount(() => {
|
||||
animateIn(scope)
|
||||
animateIn(scope, init)
|
||||
mounted = true
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user