Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.1 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.1 KB

Webkey EmbedUI

Overview

This is a Javascript library. With this tool you can integrate the Webkey real time interface (Webkit) into your HTML page.

Usage

Load the wkembed.js file into your HTML page and define a div container with unique id for the integration.

<div id="wk-container"></div>
...

<script>
    app = new WKEmbedUI({
      publicid:'[DEVICE-ID]',
      raToken: '[REMOTE-ADMIN-TOKEN-UUID]',
      container: 'wk-container'
    });
</script>

Parameters

Mandatory pamaters

  1. device reference: With this parameter you can refer to your device. This parameter could be publicid, serial. You can see this these values on the Dashboard interface.
  2. remote-admin token: See the Dashboard API documentation for more detailes.
  3. container id: ID of your DIV container where you would like to load the Webkit.

Optional pamaters

  1. extlink=disabled: Disable the links to the Dashboard interface

Example

In the index.html you can see the example.