Home Identifier Source Repository
public class | source

TrackStore

You can directly use instance of this class. trackStore

Extends:

events~EventEmitter → TrackStore

track store

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public

Method Summary

Public Methods
public

listen change event

public
public

getAll(): array

return all tracks

public

remove listened change event

Public Constructors

public constructor source

constructor

Public Members

public dispatchToken: * source

Public Methods

public addChangeListener(callback: function) source

listen change event

Params:

NameTypeAttributeDescription
callback function

public emitChange() source

public getAll(): array source

return all tracks

Return:

array

all tracks

public removeChangeListener(callback: function) source

remove listened change event

Params:

NameTypeAttributeDescription
callback function