simplebar-angular
TypeScript icon, indicating that this package has built-in type declarations

3.3.0 • Public • Published

SimpleBar


NPM version NPM downloads Build Status


SimplebarAngular

Installation

- Via npm npm install simplebar-angular --save

- Via Yarn yarn add simplebar-angular

Usage

Import module

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { SimplebarAngularModule } from 'simplebar-angular';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, SimplebarAngularModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}

Use component

<ngx-simplebar [options]="options">
  <div *ngFor="let number of numbers">ngx-simplebar</div>
</ngx-simplebar>

Options

Find the list of available options on the core documentation.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i simplebar-angular

    Weekly Downloads

    2,467

    Version

    3.3.0

    License

    MIT

    Unpacked Size

    38.6 kB

    Total Files

    13

    Last publish

    Collaborators

    • qiurenbo
    • gromy