mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Merge pull request #1780 from majorsilence/master
Add definition of jquery.placeholder
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
/// <reference path="jquery.placeholder.d.ts"/>
|
||||
|
||||
$('input').placeholder();
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// Type definitions for jquery.placeholder.js 2.0.7
|
||||
// Project: https://github.com/mathiasbynens/jquery-placeholder
|
||||
// Definitions by: Peter Gill <https://github.com/majorsilence>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts"/>
|
||||
|
||||
interface JQuery {
|
||||
|
||||
placeholder() : void;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user