Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simon-he95/text-expansion-animation


https://github.com/simon-he95/text-expansion-animation

animation

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

## text-expansion-animation

文字交融动画组件

## 🧰 安装

```
npm i text-expansion-animation
```

## 👼 使用

```js
import { createApp } from 'vue'
import { TextExpansionAnimation } from 'text-expansion-animation'
import 'text-expansion-animation/style.css'

const app = createApp(App)
app.component('TextExpansionAnimation', TextExpansionAnimation)
app.mount('#app')
```

## 参数

```typescript
{
backgroundColor?: string
color?: string
fontSize?: number
duration?: number
delay?: number
text?: string
}
```

## [examples](https://github.com/Simon-He95/text-expansion-animation/blob/main/playground/src/pages/index.vue)

## License

[MIT](./LICENSE) License © 2022 [Simon He](https://github.com/Simon-He95)

Buy Me A Coffee

![sponsors](https://www.hejian.club/images/sponsors.jpg)