vue-marquee-tips
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,0 +0,0 @@ // see http://vuejs-templates.github.io/webpack for documentation. |
@@ -0,0 +0,0 @@ // THIS FILE IS ONLY FOR IDE ENTRY CHECKING NOT FOR REAL USAGE |
{ | ||
"name": "vue-marquee-tips", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A Vue component to marquee-tips", | ||
@@ -5,0 +5,0 @@ "author": "wg <247026287@qq.com>", |
@@ -0,1 +1,4 @@ | ||
[![npm](https://img.shields.io/npm/v/vue-marquee-tips.svg)](https://www.npmjs.com/package/vue-marquee-tips) | ||
[![npm](https://img.shields.io/badge/license-MIT-blue.svg)](https://www.npmjs.com/package/vue-marquee-tips) | ||
# vue-marquee-tips | ||
@@ -31,2 +34,9 @@ | ||
## Usage | ||
### NPM | ||
```shell | ||
npm install vue-marquee-tips --save-dev | ||
``` | ||
```javascript | ||
@@ -42,2 +52,9 @@ import MarqueeTips from 'vue-marquee-tips' | ||
<MarqueeTips content="我是一个短短的提示!"></MarqueeTips> | ||
<MarqueeTips content="我是一个比较长的提示!拉吧拉吧拉吧拉吧拉吧拉吧拉吧拉吧拉吧拉吧拉吧拉吧~~~~" style="color: red" :speed="3"></MarqueeTips> | ||
<MarqueeTips content="加大字体提示:BigBigBigBig" style="font-size: 30px" font="30px sans-serif"></MarqueeTips> | ||
<div style="width: 200px;margin: 0 auto;background-color: orange;"> | ||
<MarqueeTips content="容器内提示:22222222222222222" :speed="3"></MarqueeTips> | ||
<MarqueeTips content="容器内提示:1111"></MarqueeTips> | ||
</div> | ||
``` | ||
@@ -51,2 +68,5 @@ ## Options | ||
| `speed` | `Number` | `5` | animation-duration | | ||
| `fullScreen` | `Boolean` | `true` | is fullScreen | | ||
## License | ||
MIT |
@@ -0,0 +0,0 @@ export default { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
70
209179
32
592