angular2-useful-swiper
Advanced tools
Comparing version 5.0.0-alpha.1 to 5.0.0
{ | ||
"name": "angular2-useful-swiper", | ||
"version": "5.0.0-alpha.1", | ||
"version": "5.0.0", | ||
"description": "Use iDangero.us's Swiper in Angular.", | ||
@@ -5,0 +5,0 @@ "directories": {}, |
@@ -136,3 +136,3 @@ ## angular2-useful-swiper | ||
config: Object = { | ||
config: SwiperOptions = { | ||
pagination: '.swiper-pagination', | ||
@@ -224,6 +224,12 @@ paginationClickable: true, | ||
To access the swiper instance and all of it's properties, methods and events use a viewchild. | ||
To access the swiper instance and all of it's properties, methods and events use a viewchild to get the component.swiper property. | ||
```typescript | ||
@ViewChild('usefulSwiper') usefulSwiper: SwiperComponent; | ||
... | ||
next() { | ||
this.usefulSwiper.swiper.slideNext(); | ||
} | ||
``` | ||
@@ -230,0 +236,0 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21529
1
238
1