mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Add some definitions to angular scenario
This commit is contained in:
Vendored
+7
-1
@@ -3,6 +3,8 @@
|
||||
// Definitions by: RomanoLindano
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
declare module ng {
|
||||
export interface IAngularStatic {
|
||||
scenario: any;
|
||||
@@ -100,7 +102,11 @@ declare module angularScenario {
|
||||
export interface Element {
|
||||
count(): Future;
|
||||
click(): any;
|
||||
query(callback: (selectedDOMElements: any[], callbackWhenDone: (objNull: any, futureValue: any) => any) => any): any;
|
||||
dblclick(): any;
|
||||
mouseover(): any;
|
||||
mousedown(): any;
|
||||
mouseup(): any;
|
||||
query(callback: (selectedDOMElements: JQuery, callbackWhenDone: (objNull: any, futureValue: any) => any) => any): any;
|
||||
val(): Future;
|
||||
text(): Future;
|
||||
html(): Future;
|
||||
|
||||
Reference in New Issue
Block a user