Skip to content

Commit f953f7f

Browse files
committed
adding references to ng2 version of slides
1 parent a2302cb commit f953f7f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ If the property `pageIndicators` is `true` you won't see the page indicators any
125125
- **finished** - Last slide has come into view
126126

127127
#### Angular 2 compatibility
128-
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()`.
128+
I've started working on a Angular 2 version they can be checked out here:
129+
[Angular 2 version of slides](https://github.com/TheOriginalJosh/nativescript-ng2-slides)
130+
131+
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()`.
129132
[Follow the example](https://github.com/TheOriginalJosh/nativescript-slides/issues/37#issuecomment-224820901)
130133

131134
#### Plugin Development Work Flow:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-slides",
3-
"version": "2.2.4",
3+
"version": "2.2.5",
44
"description": "NativeScript Slides plugin.",
55
"main": "nativescript-slides.js",
66
"nativescript": {

0 commit comments

Comments
 (0)