UNPKG

ionic-framework

Version:

The ionic-framework package comes with both Javascript and Sass frontend dependencies, located in the root of the package, and a Node API, located in `tooling/`.

34 lines (33 loc) 874 B
import { ElementRef } from 'angular2/core'; import { List } from '../list/list'; /** * @name ItemSliding * * @description * Creates a list-item that can easily be swiped, deleted, reordered, edited, and more. * * @usage * ```html * <ion-list> * <ion-item-sliding *ngFor="#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-sliding> * </ion-list> * ``` * @see {@link /docs/v2/components#lists List Component Docs} * @see {@link ../../list/List List API Docs} */ export declare class ItemSliding { private _list; constructor(_list: List, elementRef: ElementRef); /** * @private */ close(): void; }