Interface SinonFakeUploadProgress

Index

Properties

Methods

Properties

public eventListeners: { progress: any[]; load: any[]; abort: any[]; error: any[]; }

public eventListeners.abort: Array<any>

public eventListeners.error: Array<any>

public eventListeners.load: Array<any>

public eventListeners.progress: Array<any>

Methods

public addEventListener(event: string, listener: (e: Event) => any)

Parameters

  • event: string
  • listener: (e: Event) => any

public dispatchEvent(event: Event)

Parameters

  • event: Event

public removeEventListener(event: string, listener: (e: Event) => any)

Parameters

  • event: string
  • listener: (e: Event) => any