UNPKG

ngx-vcard

Version:

Generate an RFC compliant vCard and download it.

17 lines (16 loc) 873 B
import { ElementRef } from '@angular/core'; import { VCard } from './types/vCard'; import { VCardEncoding } from './types/vCardEncoding'; import * as i0 from "@angular/core"; export declare class DownloadVCardDirective { private element; constructor(element: ElementRef); vCard: VCard | ''; generateVCardFunction: (() => VCard) | '' | undefined; encoding: VCardEncoding; onclick(): void; private download; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DownloadVCardDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DownloadVCardDirective, "[vcdDownloadVCard]", never, { "vCard": { "alias": "vcdDownloadVCard"; "required": false; }; "generateVCardFunction": { "alias": "generateVCardFunction"; "required": false; }; "encoding": { "alias": "encoding"; "required": false; }; }, {}, never, never, false, never>; }