Home Reference Source
import Jobs from './ui/components/jobs.js'
public class | source

Jobs

Extends:

cables-shared-client~Events → Jobs

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

addedListeners: boolean

public
public
public

timeout: *

Private Members
private
private

_jobs: *[]

private
private
private

_listenerStarted: boolean

private

_log: *

private

_visibleJobAnim: boolean

private

Method Summary

Public Methods
public

finish(jobId: *)

public

getList(): *

public

hasJob(id: *): boolean

public

setProgress(jobId: *, progress: *)

public

start(job: *, func: *)

public
public

update(job: *, func: *)

public
public
Private Methods
private

Public Constructors

public constructor() source

Public Members

public addedListeners: boolean source

public hideProgressTimeout: * source

public removeProgressTo: * source

public timeout: * source

Private Members

private _finishedJobs: *[] source

private _jobs: *[] source

private _jobsEle: * source

private _lastIndicator: * source

private _listenerStarted: boolean source

private _log: * source

private _visibleJobAnim: boolean source

private _visibleProgressBar: boolean source

Public Methods

public finish(jobId: *) source

Params:

NameTypeAttributeDescription
jobId *

public getList(): * source

Return:

*

public hasJob(id: *): boolean source

Params:

NameTypeAttributeDescription
id *

Return:

boolean

public setProgress(jobId: *, progress: *) source

Params:

NameTypeAttributeDescription
jobId *
progress *

public start(job: *, func: *) source

Params:

NameTypeAttributeDescription
job *
func *

public startListener() source

public update(job: *, func: *) source

Params:

NameTypeAttributeDescription
job *
func *

public updateAssetProgress() source

public updateJobListing() source

Private Methods

private _updateVisibility() source