mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(slides,page): update docs
This commit is contained in:
@ -18,17 +18,6 @@ import {Scroll} from '../scroll/scroll';
|
||||
* @description
|
||||
* Slides is a slide box implementation based on Swiper.js
|
||||
*
|
||||
* Swiper.js:
|
||||
* The most modern mobile touch slider and framework with hardware accelerated transitions
|
||||
*
|
||||
* http://www.idangero.us/swiper/
|
||||
*
|
||||
* Copyright 2015, Vladimir Kharlampidi
|
||||
* The iDangero.us
|
||||
* http://www.idangero.us/
|
||||
*
|
||||
* Licensed under MIT
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
* @Page({
|
||||
@ -71,6 +60,17 @@ import {Scroll} from '../scroll/scroll';
|
||||
* @property {Any} (change) - expression to evaluate when a slide has been changed
|
||||
* @demo /docs/v2/demos/slides/
|
||||
* @see {@link /docs/v2/components#slides Slides Component Docs}
|
||||
*
|
||||
* Swiper.js:
|
||||
* The most modern mobile touch slider and framework with hardware accelerated transitions
|
||||
*
|
||||
* http://www.idangero.us/swiper/
|
||||
*
|
||||
* Copyright 2015, Vladimir Kharlampidi
|
||||
* The iDangero.us
|
||||
* http://www.idangero.us/
|
||||
*
|
||||
* Licensed under MIT
|
||||
*/
|
||||
@Component({
|
||||
selector: 'ion-slides',
|
||||
|
@ -6,7 +6,6 @@ const _reflect: any=Reflect;
|
||||
/**
|
||||
* @name Page
|
||||
* @description
|
||||
*For more information on how pages are created, see the [NavController API reference](../../components/nav/NavController/#creating_pages)
|
||||
*
|
||||
* The Page decorator indicates that the decorated class is an Ionic
|
||||
* navigation component, meaning it can be navigated to using a NavController.
|
||||
@ -69,6 +68,8 @@ const _reflect: any=Reflect;
|
||||
* Pages have their content automatically wrapped in `<ion-view>`, so although
|
||||
* you may see these tags if you inspect your markup, you don't need to include
|
||||
* them in your templates.
|
||||
*
|
||||
* For more information on how pages are created, see the [NavController API reference](../../components/nav/NavController/#creating_pages)
|
||||
*/
|
||||
export function Page(config: any={}) {
|
||||
return function(cls) {
|
||||
|
Reference in New Issue
Block a user