/LTI-Messaging

Javascript LTI Iframe parent.postMessage communication messages

Primary LanguageJavaScriptISC LicenseISC

LTI-Messaging

Javascript LTI Iframe parent.postMessage communication messages.

Installation

Using NPM:

npm install lti-messaging

Using Yarn:

yarn add lti-messaging

Usage

Just import the Canvas app and your plug-ins and add them to the app:

import ToolProvider from 'lti-messaging';

ToolProvider.frameResize(500);

For more information see API documentation.