mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
23 lines
428 B
JavaScript
23 lines
428 B
JavaScript
import {NgElement, Component, View} from 'angular2/angular2'
|
|
import {IonicComponent} from 'ionic/config/component'
|
|
|
|
|
|
@Component({
|
|
selector: 'ion-list, [ion-list]'
|
|
})
|
|
@View({
|
|
template: `<content></content>`
|
|
})
|
|
export class List {
|
|
constructor(
|
|
ngElement: NgElement
|
|
) {
|
|
this.domElement = ngElement.domElement;
|
|
this.config = List.config.invoke(this)
|
|
}
|
|
}
|
|
|
|
new IonicComponent(List, {
|
|
propClasses: ['inset']
|
|
})
|