JSON fetch
The json-fetch component in WET-BOEW manages JSON data retrieval by triggering events to start the fetch operation, process the data, and handle responses. It defines custom events to signal the success or failure of the fetch operation, and can also handle dataset names via the wb-jsonpatch plugin. The component defines the following events:
- json-fetch.wb: Triggered to initiate a JSON fetch operation.
- json-fetched.wb: Triggered when a JSON fetch is successful, providing the fetched response and other related data.
- json-failed.wb: Triggered when a JSON fetch fails, providing error information and status details.
- postpone.wb-jsonmanager: Triggered to postpone handling if a dataset name is encountered, allowing the wb-jsonpatch plugin to manage it.
It is used in the following components:
Page details
- Date modified: