@types/angular-clipboard
TypeScript icon, indicating that this package has built-in type declarations

1.5.4 • Public • Published

Installation

npm install --save @types/angular-clipboard

Summary

This package contains type definitions for angular-clipboard (https://github.com/omichelsen/angular-clipboard).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/angular-clipboard.

index.d.ts

/**
 * Definition of the Clipboard Service
 */
export interface ClipboardService {
    /**
     * tells us whether or not angular-clipboard is supported
     */
    supported: boolean;

    /**
     * copies text to a clipboard
     * @param text the text to be copied to the clipboard
     */
    copyText(text: string): void;
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Bradford Wagner.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/angular-clipboard

      Weekly Downloads

      298

      Version

      1.5.4

      License

      MIT

      Unpacked Size

      3.29 kB

      Total Files

      5

      Last publish

      Collaborators

      • types