enlivenObjects
enlivenObjects<
T>(objects,options?):Promise<T[]>
Defined in: src/util/misc/objectEnlive.ts:92
Type Parameters
Section titled “Type Parameters”T extends TFiller | Shadow | BaseFabricObject<Partial<ObjectProps>, SerializedObjectProps, ObjectEvents> | FabricObject<Partial<FabricObjectProps>, SerializedObjectProps, ObjectEvents> | BaseFilter<string, object, object>
Parameters
Section titled “Parameters”objects
Section titled “objects”any[]
Objects to enliven
options?
Section titled “options?”EnlivenObjectOptions = {}
Returns
Section titled “Returns”Promise<T[]>
type this correctly. Creates corresponding fabric instances from their object representations