Subversion Repositories eFlore/Applications.cel

Rev

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

Rev Author Line No. Line
3221 delphine 1
<!doctype html>
2
<html lang="">
3
 
4
<head>
5
  <base href=".">
6
  <meta charset="utf-8">
7
  <title>TB Geolocation</title>
8
  <link rel="stylesheet" href="./styles.css">
9
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
10
</head>
11
 
12
<body>
3240 idir 13
  <script src="./tb-geoloc-lib-app_.js"></script>
14
  <tb-geolocation-element
15
  id="tb-geolocation"
16
    >
3221 delphine 17
  </tb-geolocation-element>
18
 
3240 idir 19
 
3221 delphine 20
  <script>
21
    var tbGeolocation = document.getElementById('tb-geolocation');
22
    tbGeolocation.addEventListener("location", function(location) {
23
  		console.log(location.detail);
24
    });
25
  </script>
26
 
27
</body>
28
 
29
</html>