JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 568
  • Score
    100M100P100Q127897F

Package Exports

  • ngx-slickjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-slickjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngx-slickjs

Minzipped Size Maintainability Build Status GitHub Follow Twitter

ngx-slickjs is slick-carousel package for Angular 6+. ngx-slickjs can lazy load slick.js packages. ngx-slickjs very small and very stable.

[Stackblitz Example]

Installation

yarn add ngx-slickjs

or

npm install ngx-slickjs

Usage

Import core module to your main module as follows:

import { NgxSlickJsModule } from "ngx-slickjs";

@NgModule({
  imports: [
    // ...
    NgxSlickJsModule.forRoot()
  ]
})
export class AppModule {}
<div slickContainer class="your-slide-container">
  <img slickItem class="your-slide" src="https://placeholder.pics/svg/400" />
  <img slickItem class="your-slide-2" src="https://placeholder.pics/svg/400" />
</div>

Lazy Load Module Import

import { NgxSlickJsModule } from "ngx-slickjs";

@NgModule({
  imports: [
    // ...
    NgxSlickJsModule
  ]
})
export class AnotherModule {}