======================= SnapshotDialogComponent ======================= .. list-table:: :widths: auto :stub-columns: 1 * - Source - `take-snapshot `__ Component to take pictures using HTML 5. Should only be used within a modal. ------- Example ------- Reference Implementation: `EvanPictureService `_ - typescript .. code-block:: typescript import { EvanModalService, } from 'angular-core'; constructor( private modalService: EvanModalService, ) { } ngOnInit() { this.picture = await this.modalService.createModal(SnapshotDialogComponent, {}); } openPictureDetail(dataUrl) { try { return this.modalService.showBigPicture( 'alertTitle', 'alertText', dataUrl, ); } catch (ex) { } } - html :: ------------ View Example ------------ .. image:: ../../images/angular-core/components/take-snapshot-dialog.png :width: 600