Mobility Web Component

This is a demo of the Mobility Web Component.

Usage example


      

      

Attributes

// Modify an attribute
document.getElementById('map').setAttribute("zoom", "15");

Events

// Listen to an event
document.getElementById('map').addEventListener('mwc:attribute', (event) => {
  console.log('Display last data received:', event.data);
});

Documentation URL parameters

The following parameters are only used by this documentation webpage.



More mobility web components

>> Usage example Notifications Web Component