src/lib/form/webcam/webcam.component.ts
selector | cause-webcam |
styleUrls | webcam.component.styl |
templateUrl | ./webcam.component.html |
constructor()
|
Defined in src/lib/form/webcam/webcam.component.ts:8
|
ngOnInit |
ngOnInit()
|
Defined in src/lib/form/webcam/webcam.component.ts:12
|
Returns :
void
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'cause-webcam',
templateUrl: './webcam.component.html',
styleUrls: ['./webcam.component.styl']
})
export class WebcamComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
<input type="file" capture="camera" accept="image/*" #cameraInput />