@ou-imd/imd-resizer
v1.0.4
Published
Automatic iframe resizing for the VLE
Downloads
22
Readme
IMD-Resizer
What is IMD-Resizer
IMD-Reszier is a utility that will automatically resize iframes on the Virtual Learning Environment.
How do I get set up?
In a NPM enabled project run:
npm install @ou-imd/imd-resizer
In your main.js file
import "@ou-imd/imd-resizer"
Done!
If you want a configured resizer
import { configuredResizer } from "@ou-imd/imd-resizer/configuredResizer";
configuredResizer(true, 300).observe(document.body);
Done!