Interface HelloJSEvent

Hierarchy

Index

Methods

Methods

public complete(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic

public emit(event: string, data: any): HelloJSStatic

Parameters

  • event: string
  • data: any

Returns

HelloJSStatic

public emitAfter(): HelloJSStatic

Returns

HelloJSStatic

public error(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic

public findEvents(event: string, callback: (name: string, index: number) => void)

Parameters

  • event: string
  • callback: (name: string, index: number) => void

public off(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic

Parameters

  • event: string
  • callback: (auth: HelloJSEventArgument) => void

Returns

HelloJSStatic

public on(event: string, callback: (auth: HelloJSEventArgument) => void): HelloJSStatic

Parameters

  • event: string
  • callback: (auth: HelloJSEventArgument) => void

Returns

HelloJSStatic

public success(callback: (json?: any) => void): HelloJSStatic

Parameters

  • callback: (json?: any) => void

Returns

HelloJSStatic