{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/8164","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/8164/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/8164/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/8164/events","html_url":"https://github.com/driftyco/ionic/issues/8164","id":178541568,"number":8164,"title":"Ionic 2 Slides methods are not working (getSlider(), slideNext(), slidePrev()) [beta 11]","user":{"login":"Perroquiet","id":704556,"avatar_url":"https://avatars.githubusercontent.com/u/704556?v=3","gravatar_id":"","url":"https://api.github.com/users/Perroquiet","html_url":"https://github.com/Perroquiet","followers_url":"https://api.github.com/users/Perroquiet/followers","following_url":"https://api.github.com/users/Perroquiet/following{/other_user}","gists_url":"https://api.github.com/users/Perroquiet/gists{/gist_id}","starred_url":"https://api.github.com/users/Perroquiet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Perroquiet/subscriptions","organizations_url":"https://api.github.com/users/Perroquiet/orgs","repos_url":"https://api.github.com/users/Perroquiet/repos","events_url":"https://api.github.com/users/Perroquiet/events{/privacy}","received_events_url":"https://api.github.com/users/Perroquiet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/needs%20reply","name":"needs reply","color":"ededed"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/range","name":"range","color":"5319e7"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T07:33:23Z","updated_at":"2016-09-22T15:01:18Z","closed_at":null,"body":"#### Short description of the problem:\r\nIonic 2 Slides methods are not working. slideNext(), slidePrev(), getSlider()\r\n\r\n```\r\nimport { NavController, Slides } from 'ionic-angular';\r\nimport { Component, ViewChild } from \"@angular/core\";\r\n\r\n\r\n@Component({\r\n  templateUrl:\"home.html\"\r\n})\r\nexport class HomePage {\r\n  \r\n  @ViewChild('mySlider') slider: Slides;\r\n  \r\n  constructor(private nav: NavController) {\r\n\t\t\r\n\t}\r\n\r\n  ionViewDidEnter() {\r\n   console.log(this.slider);\r\n   console.log(this.slider.getSlider());\r\n  }\r\n\r\n  slideToNext() {\r\n    //this.slider.getSlider().slideNext(); // also not working\r\n    this.slider.slideNext(); // not working\r\n  }\r\n  \r\n  slideToPrev() {\r\n    this.slider.getSlider().slidePrev(); // not working\r\n    // this.slider.slidePrev(); // also not working\r\n  }\r\n  \r\n\r\n```\r\n\r\n\r\n**Which Ionic Version?** 2.0.0-beta.11\r\n\r\n\r\n#### Plunker\r\n\r\n[http://plnkr.co/edit/cp3tSN64of4utoRaVizk?p=preview](http://plnkr.co/edit/cp3tSN64of4utoRaVizk?p=preview)\r\n\r\n\r\n#### Ionic Info\r\n\r\n> Cordova CLI: 6.3.1\r\n> Gulp version:  CLI version 3.9.1\r\n> Gulp local:   Local version 3.9.1\r\n> Ionic Framework Version: 2.0.0-beta.11\r\n> Ionic CLI Version: 2.0.0\r\n> Ionic App Lib Version: 2.0.0\r\n> OS:\r\n> Node Version: v5.11.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/248929861","html_url":"https://github.com/driftyco/ionic/issues/8164#issuecomment-248929861","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/8164","id":248929861,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T15:01:18Z","updated_at":"2016-09-22T15:01:18Z","body":"@devarg Actually that issue that you are mentioning is a beta.10 (which the plunkr is currently running until beta.12 comes out) issue that was fixed in beta.11. @Perroquiet could you post a repo that i can use to reproduce this issue? Thanks!"}}
{"actor":{"display_login":"jgw96"}}