mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 14:39:30 -07:00
[ REFACT ] : BlurText Text Animation
This commit is contained in:
@@ -1,18 +1,15 @@
|
||||
import code from '@content/TextAnimations/BlurText/BlurText.vue?raw';
|
||||
import { createCodeObject } from '@/types/code';
|
||||
import code from '@content/TextAnimations/BlurText/BlurText.vue?raw';
|
||||
|
||||
export const blurText = createCodeObject(code, 'TextAnimations/BlurText', {
|
||||
installation: `npm install motion-v`,
|
||||
usage: `<template>
|
||||
<BlurText
|
||||
text="Isn't this so cool?!"
|
||||
:delay="200"
|
||||
class-name="text-2xl font-semibold text-center"
|
||||
animate-by="words"
|
||||
direction="top"
|
||||
:threshold="0.1"
|
||||
root-margin="0px"
|
||||
:step-duration="0.35"
|
||||
:delay="200"
|
||||
class-name="text-2xl font-semibold text-center"
|
||||
@animation-complete="handleAnimationComplete"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user