UNPKG

vue3-typed-ts

Version:

A Typed.js wrapped library for Vue3 with type support

33 lines (24 loc) 772 B
# Vue3 Typed.js A Vue3 component for [Typed.js](https://mattboldt.com/demos/typed-js/) with TypeScript support. You can use it in Vue3 + TypeScript projects. ## Usage ### Install ```shell npm install vue3-typed-ts ``` ### Example ```vue <script setup lang="ts"> import {VueTypedJs} from "vue3-typed-ts"; </script> <template> <VueTypedJs :strings="['Hello World', 'Hello Vue3']" :typeSpeed="100" :backSpeed="100" :loop="true" > <span class="typing"></span> </VueTypedJs> </template> ``` You can see [Properties](https://github.com/Orlandster/vue-typed-js?tab=readme-ov-file#properties) and [Events](https://github.com/Orlandster/vue-typed-js?tab=readme-ov-file#events) at vue-typed-js [repo](https://github.com/Orlandster/vue-typed-js).