Interface NvUtilStatic

Index

Properties

Methods

Properties

public Engine: NvEngine

public Features: NvFeatures

Methods

public Flash(): NvFlash

Returns

NvFlash

public addEvent(obj: HTMLElement, evType: string, fn: Function)

Parameters

  • obj: HTMLElement
  • evType: string
  • fn: Function

public conf_default(cfg: any, api: any, defaults: any, v: any, mode: any, type: any, defval: any, desc: any)

Parameters

  • cfg: any
  • api: any
  • defaults: any
  • v: any
  • mode: any
  • type: any
  • defval: any
  • desc: any

public conf_defaults(cfg: any, api: any, defaults: any, arr: any)

Parameters

  • cfg: any
  • api: any
  • defaults: any
  • arr: any

public getEventPosition(e: Event, obj: HTMLElement, scale: number): NvPoint

Parameters

  • e: Event
  • obj: HTMLElement
  • scale: number

Returns

NvPoint

public getPosition(obj: HTMLElement): NvPoint

Parameters

  • obj: HTMLElement

Returns

NvPoint

public get_include_uri(): string

Returns

string

public get_logging(): string

Returns

string

public init_logging(level?: string)

Parameters

  • level?: string optional

public load_scripts(files: Array<string>)

Parameters

  • files: Array<string>

public removeEvent(obj: HTMLElement, evType: string, fn: Function)

Parameters

  • obj: HTMLElement
  • evType: string
  • fn: Function

public stopEvent(e: Event)

Parameters

  • e: Event