How to use ng-lazyload-image - 2 common examples

To help you get started, we’ve selected a few ng-lazyload-image 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 tjoskar / ng-lazyload-image / example / src / app / app.module.ts View on Github external
{
        path: '',
        redirectTo: '/fade-in-image',
        pathMatch: 'full'
      },
      { path: 'change-image', component: ChangeImageComponent },
      { path: 'fade-in-image', component: FadeInImageComponent },
      { path: 'bg-image', component: BgImageComponent },
      { path: 'default-image', component: DefaultImageComponent },
      { path: 'pixelated-image', component: PixelatedImageComponent },
      { path: 'scroll-container', component: ScrollContainerComponent },
      { path: 'on-load', component: OnLoadComponent },
      { path: 'responsive-image', component: ResponsiveImageComponent },
      { path: 'big-images', component: BigImagesComponent }
    ]),
    LazyLoadImageModule.forRoot(intersectionObserverPreset)
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}
github Hughp135 / osustuff-tournaments / front-end / src / app / app.module.ts View on Github external
CreateLobbyComponent,
    GameDescriptionComponent,
    UserPopupComponent,
    LobbyFormComponent,
    EditLobbyComponent,
    PageLoaderComponent,
    AchievementsComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    FormsModule,
    PickerModule,
    EmojifyModule,
    LazyLoadImageModule.forRoot({
      preset: intersectionObserverPreset,
    }),
    SuiModule,
  ],
  providers: [ApiService, SettingsService, DatePipe],
  bootstrap: [AppComponent],
})
export class AppModule {}

ng-lazyload-image

Lazy image loader for Angular > v2

MIT
Latest version published 2 years ago

Package Health Score

59 / 100
Full package analysis

Popular ng-lazyload-image functions