chore(): remove use of @View

This commit is contained in:
Adam Bradley
2015-10-09 09:15:02 -05:00
parent 9255d473f1
commit 0cac4d9a2e
27 changed files with 134 additions and 337 deletions

View File

@@ -29,8 +29,9 @@ class PageImpl extends View {
*
* ```ts
* @Page({
* template: '<ion-checkbox my-custom-dir>' +
* '</ion-checkbox>'
* template: `
* <ion-checkbox my-custom-dir>
* </ion-checkbox>`
* directives: [MyCustomDirective]
* })
* class MyPage {}
@@ -45,11 +46,10 @@ class PageImpl extends View {
* ```ts
* import {IONIC_DIRECTIVES} from 'ionic/ionic';
* @Component({
* template: `<div class="customStyle">
* selector: 'my-component'
* template: `<div class="my-style">
* <ion-checkbox></ion-checkbox>
* </div>`
* })
* @View({
* </div>`,
* directives: [IONIC_DIRECTIVES]
* })
* class MyCustomCheckbox {}
@@ -60,7 +60,8 @@ class PageImpl extends View {
* ```
* along with any other components and add them individually:
* ```
* @View({
* @Component({
* ...
* directives: [Checkbox, Icon]
* })
* ```