-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Jonas Gossens edited this page Aug 6, 2021
·
15 revisions
The chayns® JavaScript API allows you to expand your Tapp with many useful features, like
- Working with the chayns.ready promise.
To read initial user data or execute functions after the tapp is loaded, you need to call the 'chayns.ready' promise. - Reading additional user data.
The chayns.env object allows you to read further user data from the chayns framework.
In addition chayns provides a lot of functions and helpers. See the following table of contents to get an overview of this features.
To get started, you can follow this wiki or alternatively take a look at the chayns® css wiki.
<!-- To get started.. -->
<!-- Load the chayns API styles and JavaScript from our server -->
<!-- css styles -->
<script src="https://api.chayns-static.space/css/v4/compatibility/compatibility.min.js" version="4.2"></script>
<!-- js api -->
<script src="https://api.chayns-static.space/js/v4.0/chayns.min.js"></script>