Skip to content

enlivenObjects

enlivenObjects<T>(objects, options?): Promise<T[]>

Defined in: src/util/misc/objectEnlive.ts:92

Type Parameters

T extends Shadow | FabricObject | TFiller | BaseFabricObject | BaseFilter<string>

Parameters

objects

any[]

Objects to enliven

options?

EnlivenObjectOptions = {}

Returns

Promise<T[]>

TODO

type this correctly. Creates corresponding fabric instances from their object representations