Interface PopcornStatic

Index

Call signatures

Properties

Methods

Call signatures

(callback: Function): PopcornImpl

Parameters

  • callback: Function

Returns

PopcornImpl

(selector: string, options?: any): PopcornImpl

Parameters

  • selector: string
  • options?: any optional

Returns

PopcornImpl

Properties

public locale: PopcornLocale

public plugin: { debug: boolean; errors: any[]; (pluginName: string, info: PopcornPlugin, manifest?: any): any; }

(): any

Returns

any

public plugin.debug: boolean

public plugin.errors: Array<any>

public util: { toSeconds(smpte: string, fps?: number): number; }

public toSeconds(): number

Returns

number

optional .fps.fps?: number

.smpte.smpte: string

Methods

public destroy(insntace: PopcornImpl): any

Parameters

Returns

any

public extend(target: string, source: any, rest?: Array<any>): any

Parameters

  • target: string
  • source: any
  • rest?: Array<any> optional

Returns

any

public forEach(object: any, callback: Function, context?: any): any

Parameters

  • object: any
  • callback: Function
  • context?: any optional

Returns

any

public getJSONP(url: string, successCallback: Function): any

Parameters

  • url: string
  • successCallback: Function

Returns

any

public getScript(url: string, successCallback: Function): any

Parameters

  • url: string
  • successCallback: Function

Returns

any

public guid(prefix: string): any

Parameters

  • prefix: string

Returns

any

public parser(parserName: any, fn: any, data: any): any

Parameters

  • parserName: any
  • fn: any
  • data: any

Returns

any