🗃️ Application
5 items
🗃️ Contexts
5 items
📄️ Data
Data is the object that provides read access to the form values data.
📄️ API for saving files
fileSaver object provides a function that can be used to save files to the backend. The function takes the following parameters:
📄️ Form instance API
form object provides access to the form instance. It has object and function properties that can be used to interact with the form.
📄️ HTTP Requests
HTTP is the object that provides access to the HTTP API that can be used to make HTTP requests. HTTP Requests are the lifeblood of a Shesha application. In order for the application to function well, the front-end needs to send data to the backend, for that data to be saved in the database. This is where HTTP requests come in. The Shesha front-end uses axios under the hood, and an axios instance is exposed on almost all the available Scripts on the configurator. For more on Shesha Scripts, see here.
📄️ Shesha JavaScript API Plugins
Shesha allows developers to extend the application JS API using useApplicationPlugin hook. Example of usage provided below:
📄️ Message
The message object provides access to the message API that can be used to display messages to the user.
📄️ Moment
Moment is the object that provides access to the moment API.