UNPKG

ionic-framework

Version:
45 lines (44 loc) 1.18 kB
import { ElementRef, NgZone } from 'angular2/core'; import { Ion } from '../ion'; import { Config } from '../../config/config'; /** * The List is a widely used interface element in almost any mobile app, and can include * content ranging from basic text all the way to buttons, toggles, icons, and thumbnails. * * Both the list, which contains items, and the list items themselves can be any HTML * element. * * Using the List and Item components make it easy to support various * interaction modes such as swipe to edit, drag to reorder, and removing items. * @demo /docs/v2/demos/list/ * @see {@link /docs/v2/components#lists List Component Docs} * * */ export declare class List extends Ion { private zone; constructor(elementRef: ElementRef, config: Config, zone: NgZone); /** * @private */ ngOnInit(): void; /** * @private */ ngOnDestroy(): void; /** * @private */ _initVirtualScrolling(): void; /** * @private */ setItemTemplate(item: any): void; enableSlidingItems(shouldEnable: any): void; closeSlidingItems(): void; } /** * @private */ export declare class ListHeader { }