UNPKG

@iotize/ionic

Version:

Iotize specific building blocks on top of @ionic/angular.

20 lines (19 loc) 1.04 kB
import { EventEmitter } from '@angular/core'; import { AlertController, Platform } from '@ionic/angular'; import { ExportDataService } from './export-data.service'; import * as i0 from "@angular/core"; export declare class ExportDataDirective { alertController: AlertController; platform: Platform; private dataToExportService; constructor(alertController: AlertController, platform: Platform, dataToExportService: ExportDataService); exportDataError: EventEmitter<Error>; exportedFileName?: string; dataToExport?: any[] | (() => any[]); format?: 'csv' | 'json'; onClickEvent(): Promise<void>; private exportToJson; private exportToCsv; static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ExportDataDirective, "[tapExportData]", never, { "exportedFileName": "exportedFileName"; "dataToExport": "dataToExport"; "format": "format"; }, { "exportDataError": "exportDataError"; }, never, never, false, never>; }