1.0.2 • Published 5 months ago
canvas-lti-auto-resizer v1.0.2
canvas-lti-auto-resizer
A React component that automatically tells Canvas to resize the containing iframe to it's content size
Install
npm install --save canvas-lti-auto-resizer
Usage
import React from 'react'
import { CanvasLTIAutoResizer } from 'canvas-lti-auto-resizer'
const MyLTIComponent = (props) => {
return (<CanvasLTIAutoResizer additional={50}>
<MyLTIComponent />
</CanvasLTIAutoResizer>)
}
License
MIT © stuartf