UNPKG

ionic-framework

Version:

An advanced HTML5 mobile app framework built on Angular2

23 lines (22 loc) 624 B
import { ElementRef } from 'angular2/core'; /** * Base class for all Ionic components. Exposes some common functionality * that all Ionic components need, such as accessing underlying native elements and * sending/receiving app-level events. */ export declare class Ion { protected elementRef: ElementRef; private _id; constructor(elementRef: ElementRef); getElementRef(): ElementRef; getNativeElement(): any; getDimensions(): { width: number; height: number; left: number; top: number; }; width(): number; height(): number; ngOnDestroy(): void; }