New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scroll-bar-vue

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scroll-bar-vue

scroll-bar-vue in vue.js

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

scrollBar

介绍

scrollBar是基于vue的组件,为方便生成浏览器间统一的滚动条样式

  • 滚动条可以拖动
  • 文字内容可拖动
  • 移动端可拖动

安装

npm install scroll-bar-vue --sava

使用

import scrollBar from 'scroll-bar-vue'

components:[
 scrollBar
}
<div class='wrapper'>
 <!--wrapper的宽高决定scrollBar的宽高-->
 <scroll-bar>
  <div>
   ...<!-- 这里填写文字内容-->
  </div>
 </scroll-bar>
</div>

参数

<scroll-bar :barHide='true'>
  <!--所有参数按此逻辑传递-->
</scroll-bar>
barHide
是否隐藏滚动条 布尔值 默认true(显示)
barClass
给bar添加class名,自定义样式 字符串 默认''(空)
* 定义除去宽高的样式,高度定义也不会有效,组件会自动渲染高度,定义也没有用

FAQs

Package last updated on 02 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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