Socket
Socket
Sign inDemoInstall

@opentiny/vue-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-scrollbar - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

17

lib/index.js

@@ -12,2 +12,3 @@ import { createVNode } from "vue";

vertical: Boolean,
show: Boolean,
size: String,

@@ -27,6 +28,6 @@ move: Number

render: function render() {
var size = this.size, move = this.move, renderThumbStyle = this.renderThumbStyle, clickTrackHandler = this.clickTrackHandler, clickThumbHandler = this.clickThumbHandler, bar = this.state.bar;
var size = this.size, move = this.move, show = this.show, renderThumbStyle = this.renderThumbStyle, clickTrackHandler = this.clickTrackHandler, clickThumbHandler = this.clickThumbHandler, bar = this.state.bar;
return createVNode("div", {
"ref": "bar",
"class": ["tiny-scrollbar__bar", "is-" + bar.key],
"class": ["tiny-scrollbar__bar", "is-" + bar.key, show ? "is-show" : ""],
"onMousedown": clickTrackHandler

@@ -59,2 +60,4 @@ }, [createVNode("div", {

noresize: Boolean,
// select 选择器下拉框数据过多时默认显示滚动条
show: Boolean,
tag: {

@@ -80,3 +83,3 @@ type: String,

var _this = this;
var tag = this.tag, $slots = this.vm.$slots, native = this.native, wrapStyle = this.wrapStyle, wrapClass = this.wrapClass, viewStyle = this.viewStyle, viewClass = this.viewClass, handleScroll = this.handleScroll, state = this.state, marginBottomAdjust = this.marginBottomAdjust;
var tag = this.tag, $slots = this.vm.$slots, native = this.native, wrapStyle = this.wrapStyle, wrapClass = this.wrapClass, viewStyle = this.viewStyle, viewClass = this.viewClass, handleScroll = this.handleScroll, state = this.state, show = this.show, marginBottomAdjust = this.marginBottomAdjust;
var gutter = scrollbarWidth();

@@ -119,7 +122,9 @@ var style = wrapStyle;

"move": state.moveX,
"size": state.sizeWidth
"size": state.sizeWidth,
"show": show
}, null), createVNode(_sfc_main$1, {
"vertical": true,
"move": state.moveY,
"size": state.sizeHeight
"size": state.sizeHeight,
"show": show
}, null)];

@@ -138,3 +143,3 @@ }

});
var version = "3.12.0";
var version = "3.13.0-alpha.0";
_sfc_main.install = function(Vue) {

@@ -141,0 +146,0 @@ Vue.component(_sfc_main.name, _sfc_main);

{
"name": "@opentiny/vue-scrollbar",
"version": "3.12.0",
"version": "3.13.0-alpha.0",
"description": "",

@@ -10,4 +10,4 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-common": "~3.12.0"
"@opentiny/vue-renderless": "~3.13.0-alpha.0",
"@opentiny/vue-common": "~3.13.0-alpha.0"
},

@@ -14,0 +14,0 @@ "license": "MIT",

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