Skip to main content

Store

The store object contains all getters and setters for managing the application's state.

We highly recommend using these helpers instead of directly accessing the state object to avoid unexpected behavior and prevent future breaking changes.

Usage

To access Store object and all its customization options use your browsers console and type:

window?.esForms?.store

You can find all methods and their documentation on this link.

Example

This example will return DOM element of the form assigned to the formId.

window?.esForms?.store?.getStateFormElement('<formId>');