Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-clipboard - npm Package Compare versions

Comparing version 5.0.9 to 5.0.10

12

dist/src/clipboard.directive.d.ts
/// <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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc