Skip to content
This repository has been archived by the owner on Dec 23, 2018. It is now read-only.

drozhzhin-n-e/ngx-crystal-swiper

Repository files navigation

Installation

Install the npm package.

npm i ngx-crystal-swiper

Import module:

import { SwiperModule } from 'ngx-crystal-swiper/components';

@NgModule({
    imports: [ SwiperModule ]
})

Usage

myImages = [
	{
		path: 'path_to_image'
	}
];

<swiper [images]="myImages" height="100%"></swiper> 

Properties

name type description
height string Container height (in pixels or percentages).