Skip to content
On this page

Class: ImageLoader

图片资源加载

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new ImageLoader()

Methods

load

load(source): Promise<HTMLImageElement>

Parameters

NameType
sourcestring

Returns

Promise<HTMLImageElement>

Implementation of

ILoader.load

Defined in

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