Home Reference Source
public class | source

AudioComponent

Extends:

potassium-es/src/Component~Component → AudioComponent

AudioComponent contains a sound source

If you want to display controls, use {AudioPlayerComponent}.

Constructor Summary

Public Constructor
public

constructor(dataObject: DataObject, options: Object)

Public Constructors

public constructor(dataObject: DataObject, options: Object) source

Params:

NameTypeAttributeDescription
dataObject DataObject
  • optional
options Object
  • optional