You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, Fibbo classes are taking the FScene as an explicit required parameter :
newFRectangle(scene,{...options})
The scene parameter could be part of the options and become optional.
By default, when creating a scene, it will be attached to a global object (globalThis) and used if no scene is provided in options.
If a scene parameter is provided through options, it will be used instead of the global one.
That way, components can be created as below :
newFRectangle({...options})
The text was updated successfully, but these errors were encountered:
Right now, Fibbo classes are taking the
FScene
as an explicit required parameter :The scene parameter could be part of the
options
and become optional.By default, when creating a scene, it will be attached to a global object (
globalThis
) and used if no scene is provided inoptions
.If a
scene
parameter is provided throughoptions
, it will be used instead of the global one.That way, components can be created as below :
The text was updated successfully, but these errors were encountered: