Skip to content
ClassAudio System@public

FlxAudioControls ​

Accessible, dependency-free DOM controls for master game audio.

ts
export declare class FlxAudioControls

Constructors ​

ts
constructor(audio: FlxAudioService, options?: FlxAudioControlsOptions)

Constructs a new instance of the FlxAudioControls class

ParameterTypeDescription
audioFlxAudioService-
optionsFlxAudioControlsOptions-

Methods ​

destroy() ​

ts
destroy(): void

Remove controls, subscriptions, and browser event listeners.

Returns: void

Released under the MIT License.