nativescript-slides
Advanced tools
Comparing version 2.2.4 to 2.2.5
{ | ||
"name": "nativescript-slides", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "NativeScript Slides plugin.", | ||
@@ -5,0 +5,0 @@ "main": "nativescript-slides.js", |
@@ -128,3 +128,6 @@ # NativeScript Slides for iOS and Android | ||
#### Angular 2 compatibility | ||
To use the slides with Angular2 and the `registerElement` from `nativescript-angular` you will want to set the `SlideContainer`'s property of `angular` to `true`. Then in your angular component in the `ngAfterViewInit`. you will want to have an instance of your slide container to call the function `constructView()`. | ||
I've started working on a Angular 2 version they can be checked out here: | ||
[Angular 2 version of slides](https://github.com/TheOriginalJosh/nativescript-ng2-slides) | ||
If you want to use this plugin with Angular 2 the `registerElement` from `nativescript-angular` you will want to set the `SlideContainer`'s property of `angular` to `true`. Then in your angular component in the `ngAfterViewInit`. you will want to have an instance of your slide container to call the function `constructView()`. | ||
[Follow the example](https://github.com/TheOriginalJosh/nativescript-slides/issues/37#issuecomment-224820901) | ||
@@ -131,0 +134,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71965
209