@workadventure/iframe-api-typings
v1.27.7
Published
Typescript typings for WorkAdventure iFrame API
Downloads
13,454
Readme
WorkAdventure comes with a scripting API. Using this API, you can add some intelligence to your map. You use this API by loading an external script directly from WorkAdventure (at https://play.workadventu.re/iframe_api.js), or this script is loaded for you if you are using the "script" property of a map.
This project contains Typescript typings for the WA object provided by this script.
Usage
This package is only useful if you are using Typescript to script your WorkAdventure maps.
Download & Installation
$ npm install @workadventure/iframe-api-typingsor
$ yarn add @workadventure/iframe-api-typings