mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
24 lines
518 B
JavaScript
24 lines
518 B
JavaScript
import {Renderer, ElementRef} from 'angular2/angular2'
|
|
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
|
import {View} from 'angular2/src/core/annotations_impl/view';
|
|
|
|
|
|
@Component({
|
|
selector: 'ion-content',
|
|
// hostProperties: {
|
|
// contentClass: 'class.content'
|
|
// }
|
|
})
|
|
@View({
|
|
template: `
|
|
<div class="scroll-content">
|
|
<content></content>
|
|
</div>`
|
|
})
|
|
export class Content {
|
|
constructor() {
|
|
//this.contentClass = true;
|
|
console.log('Content!');
|
|
}
|
|
}
|