mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
docs(slides,page): update docs
This commit is contained in:
@ -18,17 +18,6 @@ import {Scroll} from '../scroll/scroll';
|
|||||||
* @description
|
* @description
|
||||||
* Slides is a slide box implementation based on Swiper.js
|
* 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
|
* @usage
|
||||||
* ```ts
|
* ```ts
|
||||||
* @Page({
|
* @Page({
|
||||||
@ -71,6 +60,17 @@ import {Scroll} from '../scroll/scroll';
|
|||||||
* @property {Any} (change) - expression to evaluate when a slide has been changed
|
* @property {Any} (change) - expression to evaluate when a slide has been changed
|
||||||
* @demo /docs/v2/demos/slides/
|
* @demo /docs/v2/demos/slides/
|
||||||
* @see {@link /docs/v2/components#slides Slides Component Docs}
|
* @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({
|
@Component({
|
||||||
selector: 'ion-slides',
|
selector: 'ion-slides',
|
||||||
|
@ -6,7 +6,6 @@ const _reflect: any=Reflect;
|
|||||||
/**
|
/**
|
||||||
* @name Page
|
* @name Page
|
||||||
* @description
|
* @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
|
* The Page decorator indicates that the decorated class is an Ionic
|
||||||
* navigation component, meaning it can be navigated to using a NavController.
|
* 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
|
* 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
|
* you may see these tags if you inspect your markup, you don't need to include
|
||||||
* them in your templates.
|
* 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={}) {
|
export function Page(config: any={}) {
|
||||||
return function(cls) {
|
return function(cls) {
|
||||||
|
Reference in New Issue
Block a user