Skip to content

MindSphere Web Components
Event handling

MindSphere Web Components support standard CustomEvents. For general information refer to this link.

MindSphere Web Components data is provided in the detail property of events. Each MindSphere 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

Any questions left?

Ask the community


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