Methods
-
ngOnInit()
-
Description
On init creates a new HTMLLayer instance and initializes with ref to img element, user generated cloudinaryImage and the plugins to be used.
Details
-
ngOnChanges()
-
Description
On update, we cancel running plugins and update the image instance with the state of user cloudinaryImage and the state of plugins.
Details
-
ngOnDestroy()
-
Description
On destroy, we cancel the currently running plugins.
Details
-
addAttributes()
-
Description
Add attributes to img element.
Details