File

src/lib/form/webcam/webcam.component.ts

Implements

OnInit

Metadata

selector cause-webcam
styleUrls webcam.component.styl
templateUrl ./webcam.component.html

Constructor

constructor()

Methods

ngOnInit
ngOnInit()
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 />
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""