Skip to content
On this page

Class: AudioLoader

音频资源加载

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new AudioLoader()

Methods

load

load(source): Promise<HTMLAudioElement>

Parameters

NameType
sourcestring

Returns

Promise<HTMLAudioElement>

Implementation of

ILoader.load

Defined in

src/core/resource/loader/AudioLoader.ts:7