Importing the Knomi Web SDK to a Project¶
To begin integrating Knomi Web into your project, you will need to import the library into your web project.
Upload the KnomiWeb.bin
and KnomiWeb.js
files from the lib
folder to a publicly accessible path in your webserver.
Add these lines to the head section of your html file:
<script type="text/javascript" src="KnomiWeb.js"></script>
Add this function to your JavaScript file:
function KnomiWebAllReady() {
}
This function is called by the library once everything is loaded.
You can now access the KnomiWeb API. See the manual for additional detail.