Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@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
The npm package @camdh/ion-custom-scrollbar receives a total of 6 weekly downloads. As such, @camdh/ion-custom-scrollbar popularity was classified as not popular.
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.