dom-fit
Fit a DOM element into another
Installation
With npm do:
$ npm install dom-fit --save
Install with component(1):
$ component install nk-components/dom-fit
Usage
var domFit = ;var inner = document;var outer = document; var fit = ; // autoResize === false, then we have to call `.resize()`// to fit the inner element.fit;
License
The MIT License (MIT)