Create a gist now

Instantly share code, notes, and snippets.

@justinyoo /Hello.vue Secret
Created Mar 2, 2017

Accessing to Camera on Mobile Devices from Vue.js + TypeScript + ASP.NET Core Applications
<template>
<div class="hello">
<video v-bind:src="src" v-bind:width="width" v-bind:height="height" v-bind:autoplay="autoplay" ref="video"></video>
<hr/>
<img v-bind:src="photo" alt="" v-bind:width="width" v-bind:height="height"/>
<hr/>
<button type="button" v-on:click="takePhoto">Take Photo</button>
<hr/>
...
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment