Methods
-
componentDidMount()
-
Description
On mount, creates a new HTMLLayer instance and initializes with ref to img element, user generated cloudinaryImage and the plugins to be used.
Details
-
componentDidUpdate()
-
Description
On update, we cancel running plugins and update image instance with the state of user cloudinaryImage and the state of plugins.
Details
-
componentWillUnmount()
-
Description
On unmount, we cancel the currently running plugins, and destroy the html layer instance
Details