UNPKG

ionic-framework

Version:
28 lines (27 loc) 704 B
import { ElementRef } from 'angular2/core'; import { List } from '../list/list'; /** * @description * Creates a list-item that can easily be swiped, * deleted, reordered, edited, and more. * * @usage * ```html * <ion-list> * <ion-item-sliding *ng-for="#item of items"> * <ion-item (click)="itemTapped(item)"> * {{item.title}} * </ion-item> * <ion-item-options> * <button (click)="favorite(item)">Favorite</button> * <button (click)="share(item)">Share</button> * </ion-item-options> * </ion-item> * </ion-list> * ``` */ export declare class ItemSliding { private list; constructor(list: List, elementRef: ElementRef); close(): void; }