UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

34 lines (33 loc) 1.47 kB
import { ElementRef, EventEmitter, OnInit } from '@angular/core'; import { VdkSimpleTranslateService } from '../../ngx-utils'; import * as i0 from "@angular/core"; export declare class VdkCopyToClipboardButtonComponent implements OnInit { private el; translateService: VdkSimpleTranslateService; area: ElementRef; classList: string; value: string; ariaLabel: string; copyAlert: string; size: number; tooltip: string; btnLabel: string; btnClasses: string[]; disabled: boolean; tooltipDirection: string; copyClick: EventEmitter<null>; private firstLoad; btnClassesToApply: string; bounds: string; hasProjectedContent: boolean; isSafari: boolean; copied: boolean; constructor(el: ElementRef, translateService: VdkSimpleTranslateService); ngOnInit(): void; calculateClassesToApply(): void; ngOnChanges(): void; copyToClipboard(val: string): void; doCopy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<VdkCopyToClipboardButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<VdkCopyToClipboardButtonComponent, "vdk-copy-to-clipboard-button", never, { "classList": "class"; "value": "value"; "ariaLabel": "ariaLabel"; "copyAlert": "copyAlert"; "size": "size"; "tooltip": "tooltip"; "btnLabel": "btnLabel"; "btnClasses": "btnClasses"; "disabled": "disabled"; "tooltipDirection": "tooltipDirection"; }, { "copyClick": "copyClick"; }, never, ["*"]>; }