-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Reference of the slide component needs to be more detailed #458
Comments
So we currently need to hold off until this is finished ionic-team/ionic-framework#5508 Based on the ideas from |
add to docs including how to use the slides and rename methods. BREAKING CHANGE: The Slides component has been refactored. Many methods and events were renamed. The following events have been renamed: - `slideChangeStart` has been renamed `willChange` - `change` has been renamed `didChange` The following methods have been renamed: `next()` has been renamed to `slideNext()` `prev()` has been renamed to `slidePrev()` `getIndex()` has been renamed to `getActiveIndex()` `getNumSlides()` has been renamed to `length()` `isAtEnd()` has been renamed to `isEnd()` `isAtBeginning()` has been renamed to `isBeginning()` `getSliderWidget()` has been renamed to `getSlider()` The following method was added: `slideTo()` All methods have been documented in the API docs: http://ionicframework.com/docs/v2/api/components/slides/Slides/ references #5508, references ionic-team/ionic-site#458
also updated the test for controller. references #5508 closes ionic-team/ionic-site#458
Thanks for the issue @pjc0247! I've updated the Slides docs with more explanation, usage and documentation behind the methods exposed. Please let me know if you have any feedback! The docs can be seen on our staging site until we publish them live: http://ionic-site-staging.herokuapp.com/docs/v2/api/components/slides/Slides Note: many of the methods listed were renamed and will not be available until beta.5 is released. |
Recently, I had a few problems with your slide components.
I think there are some improvement points in the API Reference & Demo usages.
option
property to specify the raw options. but it would be great to make some demo usages for beginners like me.)Thanks.
The text was updated successfully, but these errors were encountered: