How to use ngx-perfect-scrollbar - 10 common examples

To help you get started, we’ve selected a few ngx-perfect-scrollbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jpush / jchat-web / src / app / components / linkman-list / linkman-list.module.ts View on Github external
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { LinkmanListComponent } from './linkman-list.component';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        LinkmanListComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule,
        SharedDirectiveModule
    ],
    exports: [
        LinkmanListComponent
    ],
    providers: []
})

export class LinkmanListModule { }
github springstack / bootstack / bootstack-web / src / main / angular / src / app / layout / layout.module.ts View on Github external
],
    imports: [
        CommonModule,
        LayoutRouting,
        FormsModule,
        BusyModule,
        TranslateModule,
        CustomFormsModule,
        TooltipModule.forRoot(),
        BsDropdownModule.forRoot(),
        ProgressbarModule.forRoot(),
        ButtonsModule.forRoot(),
        TabsModule.forRoot(),
        ModalModule.forRoot(),
        ToastyModule.forRoot(),
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG)
    ],
    providers: [
        UserService,
        {
            provide: BusyConfig,
            useFactory: busyConfigFactory
        },
        ToastyService,
        SystemMenuService
    ]
})

export class LayoutModule {
}
github jpush / jchat-web / src / app / components / card-modal / card-modal.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CardModalComponent } from './card-modal.component';
import { SearchCardModule } from '../search-card';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        CardModalComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SearchCardModule,
        SharedPipeModule,
        SharedDirectiveModule
    ],
    exports: [
        CardModalComponent
    ],
    providers: []
})

export class CardModalModule { }
github jpush / jchat-web / src / app / components / conversation-list / conversation-list.module.ts View on Github external
import { NgModule } from '@angular/core';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { ConversationListComponent } from './conversation-list.component';
import { BadgeModule } from 'jpush-ui/badge';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        ConversationListComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule,
        BadgeModule,
        SharedDirectiveModule
    ],
    exports: [
        ConversationListComponent
    ],
    providers: []
})

export class ConversationListModule { }
github jpush / jchat-web / src / app / components / emoji / emoji.module.ts View on Github external
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { EmojiComponent } from './emoji.component';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { SharedPipeModule } from '../../pipes';

@NgModule({
    declarations: [
        EmojiComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule
    ],
    exports: [
        EmojiComponent
    ],
    providers: []
})

export class EmojiModule { }
github jpush / jchat-web / src / app / components / search-member / search-member.module.ts View on Github external
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { SearchMemberComponent } from './search-member.component';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        SearchMemberComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule,
        SharedDirectiveModule
    ],
    exports: [
        SearchMemberComponent
    ],
    providers: []
})

export class SearchMemberModule { }
github jpush / jchat-web / src / app / components / chat-panel / chat-panel.module.ts View on Github external
import { PasteImageModule } from '../paste-image';
import { DropFileModule } from '../drop-file';
import { AtListModule } from '../../components/at-list';
import { MessageFileModule } from '../../components/message-file';
import { CardModalModule } from '../../components/card-modal';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        ChatPanelComponent,
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        EmojiModule,
        RouterModule,
        HoverTipModule,
        ImageViewerModule,
        MessageMenuModule,
        PasteImageModule,
        DropFileModule,
        AtListModule,
        SharedPipeModule,
        MessageFileModule,
        CardModalModule,
        SharedDirectiveModule
    ],
    exports: [
        ChatPanelComponent
    ],
github jpush / jchat-web / src / app / components / search-card / search-card.module.ts View on Github external
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { SearchCardComponent } from './search-card.component';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        SearchCardComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule,
        SharedDirectiveModule
    ],
    exports: [
        SearchCardComponent
    ],
    providers: []
})

export class SearchCardModule { }
github jpush / jchat-web / src / app / components / room-list / room-list.module.ts View on Github external
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { RoomListComponent } from './room-list.component';

@NgModule({
    declarations: [
        RoomListComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG)
    ],
    exports: [
        RoomListComponent
    ],
    providers: []
})

export class RoomListModule { }
github jpush / jchat-web / src / app / components / search-user / search-user.module.ts View on Github external
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { SearchUserComponent } from './search-user.component';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { PERFECT_SCROLLBAR_CONFIG } from '../../services/common';
import { SharedPipeModule } from '../../pipes';
import { SharedDirectiveModule } from '../../directives';

@NgModule({
    declarations: [
        SearchUserComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        PerfectScrollbarModule.forRoot(PERFECT_SCROLLBAR_CONFIG),
        SharedPipeModule,
        SharedDirectiveModule
    ],
    exports: [
        SearchUserComponent
    ],
    providers: []
})

export class SearchUserModule { }

ngx-perfect-scrollbar

Angular wrapper library for Perfect Scrollbar

MIT
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis

Similar packages