documentation structure

This commit is contained in:
David Haz
2025-07-08 23:34:52 +03:00
parent 9ddb731258
commit 660e4fd701
46 changed files with 3488 additions and 79 deletions

View File

@@ -47,6 +47,10 @@ const props = withDefaults(defineProps<SplitTextProps>(), {
textAlign: 'center'
})
const emit = defineEmits<{
'animation-complete': []
}>()
const textRef = ref<HTMLParagraphElement | null>(null)
const animationCompletedRef = ref(false)
const scrollTriggerRef = ref<ScrollTrigger | null>(null)
@@ -130,6 +134,7 @@ const initializeAnimation = async () => {
immediateRender: true,
})
props.onLetterAnimationComplete?.()
emit('animation-complete')
},
})