Subversion Repositories eFlore/Applications.cel

Rev

Rev 3221 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!doctype html>
<html lang="">

<head>
  <base href=".">
  <meta charset="utf-8">
  <title>TB Geolocation</title>
  <link rel="stylesheet" href="./styles.css">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>

<body>
  <script src="./tb-geoloc-lib-app_.js"></script>
  <tb-geolocation-element  
  id="tb-geolocation"
    >
  </tb-geolocation-element>
  
  
  <script>
    var tbGeolocation = document.getElementById('tb-geolocation');
    tbGeolocation.addEventListener("location", function(location) {
                console.log(location.detail);
    });
  </script>

</body>

</html>