enlivenObjects
enlivenObjects<
T
>(objects
,options?
):Promise
<T
[]>
Defined in: src/util/misc/objectEnlive.ts:92
Type Parameters
Section titled “Type Parameters”T
extends Shadow
| FabricObject
<Partial
<FabricObjectProps
>, SerializedObjectProps
, ObjectEvents
> | TFiller
| BaseFabricObject
<Partial
<ObjectProps
>, 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