SPB Git forge

spb/admin-ka

Public
41commits 1branches 0releases
172.9 MBsize
maindefault branch
19 days agolast push
JavaScript 65.5% Python 17.8% CSS 13% HTML 3.7%
1.1 KB · 32 lines markdown
Rendered Raw Blame History
1# Using the noVNC JavaScript library23This document describes how to make use of the noVNC JavaScript library for4integration in your own VNC client application. If you wish to embed the more5complete noVNC application with its included user interface then please see6our [embedding documentation](EMBEDDING.md).78## API910The API of noVNC consists of a single object called `RFB`. The formal11documentation for that object can be found in our [API documentation](API.md).1213## Example1415noVNC includes a small example application called `vnc_lite.html`. This does16not make use of all the features of noVNC, but is a good start to see how to17do things.1819## Conversion of modules2021noVNC is written using ECMAScript 6 modules. This is not supported by older22versions of Node.js. To use noVNC with those older versions of Node.js the23library must first be converted.2425Fortunately noVNC includes a script to handle this conversion. Please follow26the following steps:2728 1. Install Node.js29 2. Run `npm install` in the noVNC directory3031The result of the conversion is available in the `lib/` directory.32