ngx-clipboard
Advanced tools
Comparing version 5.0.9 to 5.0.10
/// <reference types="clipboard" /> | ||
import { ElementRef, OnInit, OnDestroy } from '@angular/core'; | ||
import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core'; | ||
import * as Clipboard from 'clipboard'; | ||
export { Clipboard }; | ||
export declare class ClipboardDirective implements OnInit, OnDestroy { | ||
private elmRef; | ||
elmRef: ElementRef; | ||
clipboard: Clipboard; | ||
private targetElm; | ||
private cbContent; | ||
private cbOnSuccess; | ||
private cbOnError; | ||
targetElm: ElementRef; | ||
cbContent: string; | ||
cbOnSuccess: EventEmitter<boolean>; | ||
cbOnError: EventEmitter<boolean>; | ||
constructor(elmRef: ElementRef); | ||
@@ -13,0 +13,0 @@ ngOnInit(): void; |
@@ -89,3 +89,3 @@ { | ||
}, | ||
"version": "5.0.9" | ||
"version": "5.0.10" | ||
} |
@@ -12,11 +12,11 @@ import { Directive, ElementRef, Input, Output, EventEmitter, OnInit, OnDestroy } from '@angular/core'; | ||
@Input('ngxClipboard') private targetElm: ElementRef; | ||
@Input('ngxClipboard') public targetElm: ElementRef; | ||
@Input() private cbContent: string; | ||
@Input() public cbContent: string; | ||
@Output() private cbOnSuccess: EventEmitter<boolean> = new EventEmitter<boolean>(); | ||
@Output() public cbOnSuccess: EventEmitter<boolean> = new EventEmitter<boolean>(); | ||
@Output() private cbOnError: EventEmitter<boolean> = new EventEmitter<boolean>(); | ||
@Output() public cbOnError: EventEmitter<boolean> = new EventEmitter<boolean>(); | ||
constructor(private elmRef: ElementRef) { } | ||
constructor(public elmRef: ElementRef) { } | ||
@@ -23,0 +23,0 @@ public ngOnInit() { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23266
0