import {Component} from 'angular2/angular2'; /** * Creates a list-item that can easily be swiped, * deleted, reordered, edited, and more. * * @usage * ```html * * * {{item.title}} * * {{item.note}} * * * * ``` */ @Component({ selector: 'ion-item,[ion-item]', template: '' + '
' + '' + '' + ''+ '' + '
', host: { '[class.item]': 'isItem' } }) export class Item { constructor() { this.isItem = true; } }