For the complete documentation index, see llms.txt. This page is also available as Markdown.

Events

The fatzebra.js Javascript SDK will emit various events that your client-side Javascript code can subscribe to.

An event may be emitted along with a data payload, which is encapsulated into a CustomEvent object and can be retrieved via the detail property of the event.

List of fatzebra.js events

Successful Event Data Format

Attribute
Type
Description

message

string

message

data

object

data

Example
{
  message: "xxx",
  data: {
   ... 
  }
}

Error Event Data Format

Attribute
Type
Description

errors

array of string

error messages

data

object

This could be null if no data is available.

Last updated