# ScriptWidget

**ScriptWidget** class consists of the 3 categories provided below.

### [<mark style="color:purple;">Field</mark>](https://docs.zep.us/zep-script/zep-script-api/scriptwidget/field)

> This category contains the attribute values pertaining to Widgets.
>
> Currently, there are only widget id fields, but more may be added in a future update.

### [<mark style="color:purple;">Event Listeners</mark>](https://docs.zep.us/zep-script/zep-script-api/scriptwidget/event-listeners)

> This category contains the functions that are activated when data from a widget is sent to an App. An onMessage function is available, but more may be added in a future update.

### [<mark style="color:purple;">Methods</mark>](https://docs.zep.us/zep-script/zep-script-api/scriptwidget/methods)

> This category contains the functions that can send data through widgets, end widgets, etc.
