Nervously Practice Multithreading
    Have ideas to improve npm?Join in the discussion! »

    ion-content-scrollbar
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.13 • Public • Published

    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.

    firefoxThin Scrollbar's Thumb's is thin value (For Firefox). Type: boolean, Default: true.

    firefoxBackground Scrollbar's background color value (For Firefox). Type: string, Default: 'transparent'

    firefoxThumbColor Scrollbar thumb's background color value (For Firefox). Type: string, Default: 'var(--ion-color-primary)'

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

    Keywords

    none

    Install

    npm i ion-content-scrollbar

    DownloadsWeekly Downloads

    53

    Version

    0.0.13

    License

    none

    Unpacked Size

    31.3 kB

    Total Files

    14

    Last publish

    Collaborators

    • avatar