Image View Plugin

The image view plugin allows you to create a centered image view. This image view plugin can be combined with other plugins to place the image view inside other views or screens.

Sample Usage

const imageView = await ImageViewPlugin.init()


ImageViewPlugin.init() #

Creates and returns an instance of the image view plugin that is used to make subsequent method calls.

setImagePath(path) #

Sets the image to be displayed, it will fill the screen horizontally and vertically. The callback will contain an error if the image fails to load.