Class SOD

Index

Methods

Methods

public static delayUntilEventNotified(func: Function, eventName: string)

Parameters

  • func: Function
  • eventName: string

public static execute(fileName: string, functionName: string, args?: Array<any>)

Parameters

  • fileName: string
  • functionName: string
  • args?: Array<any> optional

public static executeFunc(fileName: string, typeName: string, fn: () => void)

Parameters

  • fileName: string
  • typeName: string
  • fn: () => void

public static executeOrDelayUntilEventNotified(func: Function, eventName: string): boolean

Parameters

  • func: Function
  • eventName: string

Returns

boolean

public static executeOrDelayUntilScriptLoaded(func: () => void, depScriptFileName: string): boolean

Parameters

  • func: () => void
  • depScriptFileName: string

Returns

boolean

public static get_prefetch(): boolean

Returns

boolean

public static get_ribbonImagePrefetchEnabled(): boolean

Returns

boolean

public static loadMultiple(keys: Array<string>, fn: () => void, bSync?: boolean)

Parameters

  • keys: Array<string>
  • fn: () => void
  • bSync?: boolean optional

public static notifyEventAndExecuteWaitingJobs(eventName: string, args?: Array<any>)

Parameters

  • eventName: string
  • args?: Array<any> optional

public static notifyScriptLoadedAndExecuteWaitingJobs(scriptFileName: string)

Parameters

  • scriptFileName: string

public static registerSod(fileName: string, url: string)

Parameters

  • fileName: string
  • url: string

public static registerSodDep(fileName: string, dependentFileName: string)

Parameters

  • fileName: string
  • dependentFileName: string

public static set_prefetch(value: boolean)

Parameters

  • value: boolean

public static set_ribbonImagePrefetchEnabled(value: boolean)

Parameters

  • value: boolean