3.1.34 • Published 1 year ago
@types/jquery.watermark v3.1.34
Installation
npm install --save @types/jquery.watermark
Summary
This package contains type definitions for Watermark plugin for jQuery (http://jquery-watermark.googlecode.com).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.watermark.
index.d.ts
// Type definitions for Watermark plugin for jQuery 3.1
// Project: http://jquery-watermark.googlecode.com
// Definitions by: Anwar Javed <https://github.com/anwarjaved>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <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: Thu, 08 Jul 2021 16:22:44 GMT
- Dependencies: @types/jquery
- Global values: none
Credits
These definitions were written by Anwar Javed.
3.1.34
1 year ago
3.1.33
2 years ago
3.1.32
2 years ago
3.1.31
2 years ago
3.1.30
4 years ago
3.1.29
8 years ago
3.1.28
9 years ago
3.1.27
9 years ago
3.1.26-alpha
9 years ago
3.1.25-alpha
9 years ago
3.1.24-alpha
9 years ago
3.1.23-alpha
9 years ago
3.1.22-alpha
9 years ago
3.1.21-alpha
9 years ago
3.1.20-alpha
9 years ago
3.1.15-alpha
9 years ago
3.1.14-alpha
9 years ago