This is our html/layer library. The objective of this layer is render a
TransformableImg. This library is a dependency on our framework layer. As of now
React, Angular and Vue.
Since this library is not on npm, we will need to preform the following to use on our framework libraries-
- clone repo
- npm run build
- npm run prepare-build
- cd into /dist
- npm link or npm pack
- install package in framework layer
import HtmlLayer from 'html-layer';
import {TransformableImage} from "@cloudinary/base";
new HtmlLayer(element, TransformableImage);
MIT © strausr