Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
ngx-slimscroll
Advanced tools
ngx-slimscroll is a customizable scrollbar directive for Angular2.
Make scrollbar looks identical in any browser and any os.
http://ngx-slimscroll.jankuri.com
git clone https://github.com/jkuri/ngx-uploader.git
npm install
npm start
npm install ngx-slimscroll
// app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { SlimScrollModule } from 'ngx-slimscroll';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
CommonModule,
SlimScrollModule
],
bootstrap: [ AppComponent ]
})
export class AppModule { }
// app.component.ts
import { AppComponent, OnInit } from '@angular/core';
import { ISlimScrollOptions } from 'ngx-slimscroll';
@Component({
selector: 'app-root',
template: `<div slimScroll [options]="opts"></div>`
})
export class AppComponent imlements OnInit {
opts: ISlimScrollOptions;
ngOnInit() {
this.opts = {
position?: string; // left | right
barBackground?: string; // #C9C9C9
barOpacity?: string; // 0.8
barWidth?: string; // 10
barBorderRadius?: string; // 20
barMargin?: string; // 0
gridBackground?: string; // #D9D9D9
gridOpacity?: string; // 1
gridWidth?: string; // 2
gridBorderRadius?: string; // 20
gridMargin?: string; // 0
alwaysVisible?: boolean; // true
visibleTimeout?: number; // 1000
}
}
}
This project is licensed under the MIT license. See the LICENSE file for more info.
FAQs
***ngx-slimscroll*** is a customizable scrollbar directive for Angular2+.
The npm package ngx-slimscroll receives a total of 2,973 weekly downloads. As such, ngx-slimscroll popularity was classified as popular.
We found that ngx-slimscroll 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.
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.