Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@camdh/ion-custom-scrollbar
Advanced tools
# on project root
npm i @camdh/ion-custom-scrollbar
Import the module on top of your lazy loaded module and add it to the imports
array on NgModule
.
import { IonCustomScrollbarModule } from 'ion-custom-scrollbar'
@NgModule({
imports: [
...,
IonCustomScrollbarModule
],
declarations: [...]
})
You can pass a configuration object on ion-content
using the scrollbar
attribute.
key | type | description | default value |
---|---|---|---|
width | number | track width in pixels | 8 |
track | number | track opacity | 0.1 |
trackHover | number | track opacity on hover | 0.1 |
thumb | number | thumb opacity | 0.25 |
thumbHover | number | thumb opacity on hover | 0.33 |
all | boolean | apply style on mobile also | false |
<ion-content [scrollbar]="{width:12,trackHover:0}">
...
</ion-content>
# you just need to run the script
./publish
FAQs
## Installation
We found that @camdh/ion-custom-scrollbar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.