mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
600 B
TypeScript
21 lines
600 B
TypeScript
// Type definitions for jquery.simulate.js
|
|
// Project: https://github.com/jquery/jquery-simulate
|
|
// Definitions by: Derek Cicerone <https://github.com/derekcicerone>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
/// <reference types="jquery"/>
|
|
|
|
interface JQuery {
|
|
|
|
/**
|
|
* Simulates an event.
|
|
*
|
|
* @param type
|
|
* the type of event (eg: "mousemove", "keydown", etc...)
|
|
* @param options
|
|
* the options for the event (these are event-specific)
|
|
*/
|
|
simulate(type: string, options?: any): void;
|
|
}
|