Skip to content

Web Components for Insights Hub and Industrial IoT
Event handling

Web Components for Insights Hub and Industrial IoT support standard CustomEvents. For general information refer to this link.

Web Components data is provided in the detail property of events. Each Web Component has a unique data model which serves as interface description. For example the Asset View provides the selectedAssetChanged event. Its model IAsset is described in the interface description.

Analyze an Event

  1. Open the developer tools of your browser (press F12).
  2. Navigate into the sources section.
    Chrome: Sources
    Firefox: Debugger > Sources.
  3. Select the file you want to debug from the file tree.
  4. Click on a line number to set a breakpoint.
  5. Trigger the event, e.g. the selectedAssetChanged event by selecting a different asset.
  6. Open the properties of the event via mouseover.
  7. Add the event to the watch list if desired.

Debugging CustomEvents


Last update: February 23, 2024

Except where otherwise noted, content on this site is licensed under the Development License Agreement.