Package Exports
- cube-creator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cube-creator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cube-creator (short docs)
Installation
Using npm:
$ npm i --save cube-creatorUsing
To create cube without effects pass key DOM element and parentElement to constructor. "element" must have width and height.
new CubeMaker(element, parentElement);To create cube or upgrade existing cube with parallax effect use
const cube3D = new CubeMaker(element, parentElement);
new WithParallax3D(cube3D.getContainer());
I will improve this package to arrive more control of params and increase the level of optimization. Please, wait for a little.