mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Merge branch 'bootstrap-refactor' into 2.0
This commit is contained in:
@ -68,7 +68,7 @@ import {Scroll} from '../scroll/scroll';
|
||||
*
|
||||
* @usage
|
||||
*
|
||||
* You can add slides to a `@Page` using the following template:
|
||||
* You can add slides to a `@Component` using the following template:
|
||||
*
|
||||
* ```html
|
||||
* <ion-slides>
|
||||
@ -87,9 +87,10 @@ import {Scroll} from '../scroll/scroll';
|
||||
* To add [options](#configuring), we will define them in `mySlideOptions` in our class `MyPage`:
|
||||
*
|
||||
* ```ts
|
||||
* import {Page, Slides} from 'ionic-angular';
|
||||
* import {Component} from '@angular/core';
|
||||
* import {Slides} from 'ionic-angular';
|
||||
*
|
||||
* @Page({
|
||||
* @Component({
|
||||
* templateUrl: 'my-page.html'
|
||||
* })
|
||||
* class MyPage {
|
||||
|
Reference in New Issue
Block a user