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
ngx-slickjs is slick-carousel package for Angular 6+. ngx-slickjs can lazy load slick.js packages. ngx-slickjs very small and very stable.
Installation
yarn add ngx-slickjsor
npm install ngx-slickjsUsage
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 {}