Scope animations
This commit is contained in:
@@ -5,17 +5,20 @@
|
||||
// Animations
|
||||
import { animateIn } from '../animations/TitleSite.js'
|
||||
|
||||
// Variables
|
||||
let scope
|
||||
|
||||
|
||||
/*
|
||||
** Run code on component mount
|
||||
*/
|
||||
onMount(() => {
|
||||
// Entering transition
|
||||
animateIn()
|
||||
animateIn(scope)
|
||||
})
|
||||
</script>
|
||||
|
||||
<div class="title-location title-location--inline">
|
||||
<div class="title-location title-location--inline" bind:this={scope}>
|
||||
<div role="heading" aria-level="1" aria-label="Houses">
|
||||
<div class="anim-mask">
|
||||
{@html lettersToSpan('Houses')}
|
||||
|
||||
Reference in New Issue
Block a user