UNPKG

@rxap/directives

Version:

This package provides a set of Angular directives to simplify common tasks such as setting background images, confirming clicks, making elements contenteditable, and more. It includes directives for handling UI interactions, applying styles, and managing

24 lines (23 loc) 1.02 kB
import * as i0 from "@angular/core"; export declare class ShareService { share(data: { url?: string; text?: string; title?: string; files?: ReadonlyArray<File>; }): Promise<void>; private isShareSupported; static ɵfac: i0.ɵɵFactoryDeclaration<ShareService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ShareService>; } export declare class ShareButtonDirective { private readonly shareService; url: string; text: string; title: string; files?: ReadonlyArray<File>; constructor(shareService: ShareService); share(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ShareButtonDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ShareButtonDirective, "[rxapShareButton]", never, { "url": { "alias": "url"; "required": false; }; "text": { "alias": "text"; "required": false; }; "title": { "alias": "title"; "required": true; }; "files": { "alias": "files"; "required": false; }; }, {}, never, never, true, never>; }