setImage

setImage

Upload an image and set it on the selected node.

framer.setImage(image: NamedImageAssetInput | File): Promise<void

In image or editImage mode, this is the primary method to send the selected or edited image back to Framer.

Parameters

Returns

  • Promise<void>