/hello.vue Secret
Created
March 16, 2017 05:02
Getting Geolocation on Mobile Devices using Vue.js + TypeScript + ASP.NET Core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<div> | |
<button type="button" v-on:click="getLocation">Get Location</button> | |
<ul> | |
<li>Latitude: {{ latitude }}</li> | |
<li>Longitude: {{ longitude }}</li> | |
<li>Altitude: {{ altitude }}</li> | |
</ul> | |
</div> | |
<h2>Essential Links</h2> | |
... | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment