Skip to content

A basic package for customize ion-content element's scrollbar style.

License

Notifications You must be signed in to change notification settings

mustafapsd/ion-content-scrollbar

Repository files navigation

This is a basic package for customize ion-content element's scrollbar style.

Usage

app.module.ts

...

import { IonContentScrollbarModule } from 'ion-content-scrollbar';

@NgModule({

imports: [

...

IonContentScrollbarModule

],

})

scrollbarWidth Scrollbar's width and height value. Type: number, Default: 3

scrollbarColor Scrollbar Thumb's background color value. Type: string, Default: var(--ion-color-primary)

scrollbarRound Scrollbar's Thumb's is rounded value. Type: boolean, Default: true.

<ion-content appIonScrollbar [scrollbarWidth]="5" scrollbarColor="#000000" [scrollbarRound]="true"></ion-content>

About

A basic package for customize ion-content element's scrollbar style.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published