Formula Stores
#
Accessing StoresFormula and Beaker provides a set of Svelte stores as part of each instance created. These stores provide different types of values at different lifecycles of your application.
All the stores are listed in the sidebar.
- When using Formula, the stores contain a single
Object
instance of the form - When using Beaker, the stores contain an
Array
ofObject
values for each row instance
If you have multiple forms on the page you can also access stores via form.stores
#
Global StoreWhen attaching a form to an element, if you provide an id
property the stores will be added to a global Map
that can
be accessed from anywhere else in your application from via formulaStores
or beakerStores