How to use the angular-notifier.NotifierModule.withConfig function in angular-notifier

To help you get started, we’ve selected a few angular-notifier 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 Mines-Paristech-Students / Portail-des-eleves / frontend_legacy / src / app / app.module.ts View on Github external
BsDropdownModule.forRoot(),
        AngularMarkdownEditorModule.forRoot({iconlibrary: "fa"}),
        NgSelectModule,
        HttpClientModule,
        MarkdownModule.forRoot({
            markedOptions: {
                provide: MarkedOptions,
                useValue: {
                    breaks: true,
                    gfm: true,
                    // renderer: new Renderer(), Here we can add custom markdown tags
                    sanitize: true
                }
            }
        }),
        NotifierModule.withConfig({
            position: {
                horizontal: {
                    position: 'right',
                    distance: 12
                },
                vertical: {
                    position: 'bottom',
                    distance: 12,
                    gap: 10
                }
            },
            theme: 'material',
            behaviour: {
                autoHide: 5000,
                onClick: 'hide',
                onMouseover: 'pauseAutoHide',
github dominique-mueller / angular-notifier / projects / angular-notifier-demo / src / app / app.module.ts View on Github external
}
};

/**
 * App module
 */
@NgModule( {
	bootstrap: [
		AppComponent
	],
	declarations: [
		AppComponent
	],
	imports: [
		BrowserModule,
		NotifierModule.withConfig( customNotifierOptions )
	]
} )
export class AppModule {}
github aamks / aamks / gui / interface / src / app / app.module.ts View on Github external
VisualizationComponent,
    SettingsComponent,
    GeneralRiskComponent,
    BuildingInfrastructureComponent,
    DistributionsComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    CommonModule,
    KatexModule,
    PerfectScrollbarModule,
    NgSelectModule,
    NotifierModule.withConfig({
        position: { horizontal: { position: 'right', } },
        behaviour: { autoHide: 5000, },
      })
  ],
  providers: [
    MainService,
    HttpManagerService,
    WebsocketService,
    ProjectService,
    RiskScenarioService,
    IdGeneratorService,
    UiStateService,
    CategoryService,
    CadService,
    JsonRiskService,
    {

angular-notifier

A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.

MIT
Latest version published 1 year ago

Package Health Score

51 / 100
Full package analysis

Popular angular-notifier functions