Web Component Defined Event
Description
In BBj 24.00 and higher, the web component identified in the id field of the event template is now available for use.
| Mandatory/Optional | Mandatory |
|---|---|
| Event Mask Bit | None. Event is always visible. |
Event Template
context:u(2),code:c(1),id:u(2),flags:u(1),x:u(2),y:u(2)
| Field | Description |
|---|---|
|
context |
Window containing the web component. |
|
code |
x |
|
id |
ID of the web component that initiated this event. |
|
flags |
0 |
|
x |
BBjAPI::ON_WEB_EVENT |
|
y |
0 if this is a builtin HTML element or 1 if this is a custom web component. |