Install the npm package.
npm i ngx-crystal-swiper
Import module:
import { SwiperModule } from 'ngx-crystal-swiper/components';
@NgModule({
imports: [ SwiperModule ]
})
myImages = [
{
path: 'path_to_image'
}
];
<swiper [images]="myImages" height="100%"></swiper>
name | type | description |
---|---|---|
height | string | Container height (in pixels or percentages). |