# @types/jquery.watermark

> TypeScript definitions for jquery.watermark

Latest version **3.1.34** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jquery.watermark
pnpm add @types/jquery.watermark
yarn add @types/jquery.watermark
bun add @types/jquery.watermark
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.1.34 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jquery.watermark
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.watermark
- npm.io page: https://npm.io/package/@types/jquery.watermark

## Dependencies (1)

- [@types/jquery](https://npm.io/package/@types/jquery.md) *

## Recent versions

- 3.1.34 (latest) — 2024-01-30
- 3.1.33 (ts4.5) — 2023-11-07
- 3.1.30 (ts3.6) — 2021-07-08
- 3.1.29 (ts2.3) — 2017-06-15
- 3.1.28 (ts2.0) — 2016-09-19
- 3.1.32 — 2023-10-18
- 3.1.31 — 2023-09-15
- 3.1.27 — 2016-07-14
- 3.1.26-alpha — 2016-07-08
- 3.1.25-alpha — 2016-07-04
- 3.1.24-alpha — 2016-07-02
- 3.1.23-alpha — 2016-07-01
- 3.1.22-alpha — 2016-07-01
- 3.1.21-alpha — 2016-05-25
- 3.1.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/jquery.watermark/versions

## README

# Installation
> `npm install --save @types/jquery.watermark`

# Summary
This package contains type definitions for jquery.watermark (http://jquery-watermark.googlecode.com).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.watermark.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.watermark/index.d.ts)
````ts
/// <reference types="jquery"/>

interface WatermarkOptions {
    className?: string | undefined; // Default class name for all watermarks
    useNative?: boolean | undefined; // If true, plugin will detect and use native browser support for watermarks, if available. (e.g., WebKit's placeholder attribute.)
    hideBeforeUnload?: boolean | undefined; // If true, all watermarks will be hidden during the window beforeunload event.
}

interface Watermark {
    options: WatermarkOptions;

    show(element: string): void;
    hide(element: string): void;
    showAll(): void;
    hideAll(): void;
}

interface JQuery {
    watermark(text: string, options?: WatermarkOptions): JQuery;
}

interface JQueryStatic {
    watermark: Watermark;
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Anwar Javed](https://github.com/anwarjaved).

---
_Source: https://npm.io/package/@types/jquery.watermark · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
