Interface JasmineJQueryEvents

Index

Methods

Methods

public args(selector: string, eventName: string): any

Parameters

  • selector: string
  • eventName: string

Returns

any

public cleanUp(): any

Returns

any

public spyOn(selector: string, eventName: string): JQueryEventSpy

Parameters

  • selector: string
  • eventName: string

Returns

JQueryEventSpy

public wasPrevented(selector: string, eventName: string): boolean

Parameters

  • selector: string
  • eventName: string

Returns

boolean

public wasStopped(selector: string, eventName: string): boolean

Parameters

  • selector: string
  • eventName: string

Returns

boolean

public wasTriggered(selector: string, eventName: string): boolean

Parameters

  • selector: string
  • eventName: string

Returns

boolean

public wasTriggeredWith(selector: string, eventName: string, expectedArgs: any, env: Env): boolean

Parameters

  • selector: string
  • eventName: string
  • expectedArgs: any
  • env: Env

Returns

boolean