vue-typewritter
v0.0.5
Published
This is a typewritter effect for vue3 and typescript
Downloads
8
Maintainers
Readme
🚀 Features
- 📝 Pure string input support
- Vue component support
- TSX/JSX grammer support
- 🔫 Customizable styles for each step
- 🚀 Each step supports custom speed
- 🚅 Chain call support
🦄 Usage
<template>
<div id="typewritter"></div>
</template>
<script setup lang="tsx">
import { Typewriter } from 'vue-typewritter';
const typewriter = new Typewriter('#typewritter');
onMounted(() => {
nextTick(() => {
typewriter.setText('Hello World!');
});
});
</script>
📦 Install
🎩 From v1.0, it works for Vue 2 & 3
npm i vue-typewriter
📄 License
MIT License © 2024-PRESENT Norvan CC