Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
vue-coe-scrollbar
Advanced tools
✨ Example✨
yarn add vue-coe-scrollbar
or npm install vue-coe-scrollbar
Example
<template>
<vue-coe-scrollbar @scroll="scroll">
<div class="list">
<div v-for="x in content" :key="x" class="list__item">
{{ x }}
</div>
</div>
</vue-coe-scroll>
</template>
<script>
import VueCoeScrollbar from 'vue-coe-scrollbar'
export default {
components: { VueCoeScrollbar },
data () {
return {
content: Array.from(({ length: 12 }), (x, i) => i)
}
},
methods: {
scroll (e) { // ... }
}
}
</script>
Name | type | default | About |
---|---|---|---|
active | Boolean | true | Disable scroll if false |
wrapperSelector | String | vue-coe-scroll > .wrapper | any changes inside this element will recalculate the scroll |
initDelay | Number | 0 | delay to avoid wasted resources when mounting the scroll |
jump | Number | 700 | Jump on click |
disappear | Number | 1500 | The delay before scrollbar hides |
scrollDuration | Number | 300 | The transition time on click/keydown (ms) |
speed | Number | 0.1 | The scroll wheel speed ratio |
width | Number | 7 | scrollbar width base |
color | String | rgba(18, 30, 73, 0.2) | scrollbar color |
background | String | transparent | scrollbar background |
Disclaimer: there is a bit more elaborate documentation in the code
Name | About |
---|---|
scroll | Emit event on scroll |
Made in: @convenia
FAQs
vue-coe-scrollbar ✅
The npm package vue-coe-scrollbar receives a total of 13 weekly downloads. As such, vue-coe-scrollbar popularity was classified as not popular.
We found that vue-coe-scrollbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.