Check is the image editor loaded and ready to use

(): boolean

Returns true if the ImgPen image editor library is fully loaded and you can call the Image Editor. false is returned when ImgPen is not fully loaded, but some of the utility methods are still ready for use (i. e., this one).

Use this method only if you have an integration listed in the left column of the integrations table. If your integration is listed in the right column, just check window.imgpen variable is set.

When you call Flmngr method Flmngr.edit({params}), it will wait until ImgPen is fully loaded and then call the requested action automatically. Always check if ImgPen is loaded before calling this method if you wish to open the Image Editor only when everything is ready.

Even if the ImgPen image editor is not loaded, you can call the file browser with the{params}) method. If the user calls the image editor from there, the Flmngr file manager will wait until ImgPen is really loaded.