Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-slider-component

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-slider-component - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

.babelrc

6

example/src/index.js

@@ -1,2 +0,4 @@

import vue2Slider from './vue2-slider.vue'
export default vue2Slider
import vueSlider from './vue2-slider';
export default vueSlider

@@ -11,2 +11,5 @@ var path = require('path')

},
resolve: {
extensions: [ '', '.js', '.vue' ]
},
resolveLoader: {

@@ -13,0 +16,0 @@ root: path.join(__dirname, 'node_modules'),

{
"name": "vue-slider-component",
"version": "1.0.9",
"version": "1.1.0",
"description": "Can use the Slider component in vue1.x and vue2.x",
"main": "index.js",
"scripts": {
},
"keywords": [
"vue",
"vue-component",
"vue-slider-component"
],
"main": "./dist/index.js",
"repository": {

@@ -13,7 +16,27 @@ "type": "git",

"author": "NightCatSama <642163903@qq.com>",
"license": "ISC",
"licenses": "MIT",
"bugs": {
"url": "https://github.com/NightCatSama/vue-slider-component/issues"
},
"homepage": "https://github.com/NightCatSama/vue-slider-component#readme"
"homepage": "https://github.com/NightCatSama/vue-slider-component#readme",
"scripts": {
"build": "rm -rf ./dist && webpack --config ./webpack.config.js"
},
"devDependencies": {
"babel-core": "^6.10.4",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-2": "^6.11.0",
"babel-runtime": "^6.9.2",
"css-loader": "^0.23.1",
"style-loader": "^0.13.1",
"vue-html-loader": "^1.2.3",
"vue-loader": "^8.5.3",
"vue-style-loader": "^1.0.0",
"webpack": "^1.13.1"
},
"dependencies": {
"vue": "^1.0.26"
}
}
# vue-slider-component
Can use the slider in vue1.x and vue2.x
[demo](https://nightcatsama.github.io/vue-slider-component/example/)
[Live Demo](https://nightcatsama.github.io/vue-slider-component/example/)

@@ -49,3 +49,3 @@ ## Install

<script>
import vueSlider from 'vue-slider-component/vue-sliders.vue';
import vueSlider from 'vue-slider-component/vue-slider.vue';

@@ -83,3 +83,3 @@ new Vue({

<script>
import vueSlider from 'vue-sliders-component'
import vueSlider from 'vue-slider-component'

@@ -115,5 +115,5 @@ new Vue({

| direction | String | horizontal | set the direction of the component, optional value: ['horizontal', 'vertical'] |
| eventType | String | 'auto' | the event type, optional value: ['auto', 'touch', 'mouse', 'none'] |
| width | Number,String | 150 | width of the component |
| height | Number | 4 | height of the component |
| eventType | String | auto | the event type, optional value: ['auto', 'touch', 'mouse', 'none'] |
| width | Number[,String(in horizontal)] | 150 | width of the component |
| height | Number[,String(in vertical)] | 4 | height of the component |
| dotSize | Number | 15 | size of the sliders |

@@ -128,3 +128,3 @@ | min | Number | 0 | the minimum value |

| tooltip | String,Boolean| false | control the tooltip, optional value: ['hover', 'always', false] |
| tooltipDir | String | top or left | set the direction of the tooltip, optional value: ['top', 'bottom', 'left', 'right'] |
| tooltipDir | String | top(in horizontal)or left(in vertical) | set the direction of the tooltip, optional value: ['top', 'bottom', 'left', 'right'] |
| val | Number,Array | 0 | initial value (if the value for the array open range model) |

@@ -131,0 +131,0 @@ | data | Array | null | the custom data |

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc