Socket
Socket
Sign inDemoInstall

vue-marquee-tips

Package Overview
Dependencies
10
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

4

build/webpack.prod.conf.js

@@ -12,5 +12,3 @@ var path = require('path')

var env = process.env.NODE_ENV === 'testing'
? require('../config/test.env')
: config.build.env
var env = config.build.env

@@ -17,0 +15,0 @@ var webpackConfig = merge(baseWebpackConfig, {

{
"name": "vue-marquee-tips",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Vue component to marquee-tips",

@@ -14,4 +14,3 @@ "author": "wg <247026287@qq.com>",

"dependencies": {
"vue": "^2.2.6",
"vue-router": "^2.3.1"
"vue": "^2.2.6"
},

@@ -18,0 +17,0 @@ "devDependencies": {

@@ -28,6 +28,23 @@ # vue-marquee-tips

# build for production and view the bundle analyzer report
npm run build --report
```
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
## Usage
```javascript
import MarqueeTips from 'vue-marquee-tips'
export default {
components: {
MarqueeTips
}
}
```
```html
<MarqueeTips content="我是一个短短的提示!"></MarqueeTips>
```
## Options
| Name | Type | Default | Description |
|---|---|---|---|
| `content` | `String` | `undefined` | tooltips's content |
| `font` | `String` | `16px sans-serif` | tooltips's font |
| `speed` | `Number` | `5` | animation-duration |
| `fullScreen` | `Boolean` | `true` | is fullScreen |

@@ -5,3 +5,2 @@ // The Vue build version to load with the `import` command

import App from './App'
import router from './router'

@@ -13,5 +12,4 @@ Vue.config.productionTip = false

el: '#app',
router,
template: '<App/>',
components: { App }
})

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc